CN102904764B - A kind of data transmission device and transmission method thereof - Google Patents
A kind of data transmission device and transmission method thereof Download PDFInfo
- Publication number
- CN102904764B CN102904764B CN201210460758.4A CN201210460758A CN102904764B CN 102904764 B CN102904764 B CN 102904764B CN 201210460758 A CN201210460758 A CN 201210460758A CN 102904764 B CN102904764 B CN 102904764B
- Authority
- CN
- China
- Prior art keywords
- data
- queue
- transfer server
- server end
- message
- 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.)
- Active
Links
Abstract
The invention discloses a kind of data transmission device, including data transmission client, data transfer server end;Described data transmission client, it has two message queues, and the first message queue is the first transmit queue, and the second message queue is the first receiving queue;Wherein, the first transmit queue is for receiving the data that user side sends over, and the first receiving queue is for receiving the data that described data transport service end sends over;Described data transfer server end also has two message queues, and the first message queue is the second receiving queue, and the second message queue is the second transmit queue;Wherein, described data transfer server end connects the reception data from data transmission client by network, and above-mentioned data is sent in the second receiving queue;Described second transmit queue receives the data that network management system network sends, and described data transfer server end reads data from the second transmit queue, and sends the data to data transmission client by TCP or udp protocol.
Description
Technical field
The application designs a kind of data transmission device and the fault data of transmission method, especially network management system thereof
Transmission, belongs to the communications field.
Background technology
NMS is the software and hardware combining distributed network application system based on software, its mesh
Be management network, make network-efficient properly functioning.It is currently based on the event of the NMS of snmp protocol
Barrier packet transmits based on udp protocol, due to udp protocol itself not inspection and retransmission mechanism, especially
It is when the communication of network management system occurs abnormal, during transmitting, lost data packets will often occur
Phenomenon, it is impossible to ensure the integrity that data transmit, i.e. it cannot be guaranteed that between the managed object that gathered of webmaster therefore
The concordance of barrier data.Therefore, how to improve effectiveness and the safety of the fault data of network management system, be
Those skilled in the art need badly and solve the technical problem that.
Summary of the invention
The present invention provides a kind of data transmission device, including the first module and the second module, described first module
For data transmission client, described second module is data transfer server end;Described data transmission client,
It has two message queues, and the first message queue is the first transmit queue, and the second message queue is first to connect
Receive queue;Wherein, the first transmit queue is for receiving the data that user side sends over, the first receiving queue
For receiving the data that described data transport service end sends over;
Described data transfer server end also has two message queues, and the first message queue is the second reception team
Row, the second message queue is the second transmit queue;Wherein, described data transfer server end is by network even
Receive the data from data transmission client, and above-mentioned data are sent in the second receiving queue;Institute
Stating the second transmit queue and receive the data that send of network management system network, described data transfer server end is from the
Two transmit queues read data, and sends the data to data transmission visitor by TCP or udp protocol
Family end.
Wherein, the event of the call failure that described data are voice gateway system that described first transmit queue receives
Barrier information, it is by caller information, called party information, any one or combinations thereof of gap information.
Wherein, the described data that described first receiving queue receives are the director data that network management system sends, especially
It is the instruction restarting process.
The present invention also provides for a kind of data transmission method, it is provided that the first module, and described first module is that data pass
Defeated client, it is provided that the second module, described second module is data transfer server end;Described data are transmitted
Client, it has two message queues, and the first message queue is the first transmit queue, the second message queue
It it is the first receiving queue;Wherein, the first transmit queue for receiving the data that user side sends over, first
Receiving queue is for receiving the data that described data transport service end sends over;
Described data transfer server end also has two message queues, and the first message queue is the second reception team
Row, the second message queue is the second transmit queue;Wherein, described data transfer server end is by network even
Receive the data from data transmission client, and above-mentioned data are sent in the second receiving queue;Institute
Stating the second transmit queue and receive the data that send of network management system network, described data transfer server end is from the
Two transmit queues read data, and sends the data to data transmission visitor by TCP or udp protocol
Family end.
Wherein, from the first transmit queue, the speed of described data is obtained less than user when data transmission client
When holding the speed of the data being sent to the first transmit queue, then the data of the first transmit queue are the fullest, by user
Hold significant data to be sent, be first cached to this locality, and by unessential data to be sent for user side
Abandon.
Wherein, described significant data is the fault data of voice gateways in network management system.
If described data transmission client sends data failure, and these data to data transfer server end
Send and be unsuccessfully not as the situation that network connection (such as socket connection) makes a mistake, then resend
Above-mentioned data.
If it is the most unsuccessful after retransmitting certain number of times, then by described data buffer storage to this locality, when crossing one section
Between retransmit, until data send feed back successfully.
If described data transmission client sends data failure, and these data to data transfer server end
Send and be unsuccessfully because the situation that network connection (such as socket connection) makes a mistake, just do not send
Data buffer storage is to local, when data transmission client and data transfer server end re-establish TCP or UDP
During connection, after successful connection, first send the data in cache file, retransmit in described first transmit queue
Data.
Accompanying drawing explanation
Fig. 1 is the system construction drawing of the embodiment of the present invention
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention express clearer, below in conjunction with the accompanying drawings
And specific embodiment the present invention is further described in more detail.
Seeing accompanying drawing 1, accompanying drawing 1 gives the Organization Chart of data transmission device system.This data transmission device bag
Include two modules, module 1 be data transmission client (Client) 1, module 2 be data transfer server
End (Server) 2, data transmission client 1 and data transfer server end 2 can by LAN or
WAN or INTERNET connects, and specifically uses Transmission Control Protocol or udp protocol to communicate.
Described data transmission client 1, has two message queues, and first message queue is transmit queue
11, transmit queue 11 is used for receiving the data that user side (not shown in accompanying drawing 1) sends over, such as net
Guard system managed object, especially, voice gateway system, call distribution system etc., can referred to as use
Family end.Data transmission client 1 reads data from transmit queue 11, by TCP or udp protocol by institute
State data and be sent to data transfer server end 2.Described data are such as it may be that the exhaling of voice gateway system
It is failed fault message, including caller, called and gap information etc..
Second message queue is receiving queue 12, and receiving queue 12 is used for receiving data transport service end module
2 data sent, user side actively obtains described data from receiving queue 12, and described data such as may be used
To be, the director data that network management system sends, especially restart the instruction of process.
If the overabundance of data in described transmit queue 11, following situation, such as, data transmission visitor i.e. occur
Family end 1 obtains the speed of described data from transmit queue 11 and is sent to transmit queue 11 less than user side
During the speed of data, then the data in transmit queue 11 are the most long-pending more full, it will occur that cannot preserve user side sends out
The data brought, now, owing to transmit queue is the fullest, are necessary for weight to be sent for some user sides
Want data, such as the fault data of voice gateways in network management system, first it is cached to this locality, and by user side institute
Unessential data to be sent abandon.By this operation, can be by important number to be sent for user side
Preserve according to preferential, it is ensured that the significant data in system can be transmitted effectively.
It addition, the present invention has also carried out following consideration.That is, how to carry out when data send unsuccessfully effectively
Operation.Being divided into two kinds of situations, the first situation is: if described data transmission client 1, to data
Transmission server end 2 sends data failure, and these data send and are unsuccessfully not as network connection (such as
Socket connects) situation about making a mistake, need to resend above-mentioned data, if after retransmitting certain number of times
The most unsuccessful, it is traditionally arranged to be 5 times, then be also required in this data buffer storage to this locality, when crossing one section
Between retransmit, until data send feed back successfully.
Another situation, if described data transmission client 1, sends to data transfer server end 2
Data failure, and these data send and are unsuccessfully because network and connect (such as socket connection) and make a mistake
Situation, then preferentially by needing in the data buffer storage that do not sends to local file, when data transmission client 1
Re-establish TCP or UDP with data transfer server end 2 when being connected, after successful connection, first send caching literary composition
Data in part, retransmit the data in described transmit queue 11.
Described data transfer server end 2 also has two message queues, and first message queue is to receive team
Row 21, data transfer server end 2 connects the reception data from data transmission client 1 by network,
And above-mentioned data are sent in receiving queue 21, process for network management system (not shown in accompanying drawing 1), especially
It is network manager.
Second message queue is transmit queue 22, receives the data that network management system network sends, described number
According to such as it may be that the director data of network management system transmission, especially restart the instruction of process.Data
Transmission server end 2 reads data from transmit queue 22, described data is sent out by TCP or udp protocol
Give data transmission client 1.
Additionally, the present invention has also carried out following consideration.That is, data transfer server end 2 effectively manages net
Network connects (such as socket connection) resource, when within the regular hour, described data transport service end 2
Being not received by the data that data transmission client 1 sends, data transport service end 2 will be with data transmission visitor
Family end 1 disconnects network and connects, and discharges related resource.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within bright spirit and principle, any modification, equivalent substitution and improvement etc. done, should be included in this
Within the scope of bright protection.
Claims (7)
1. a data transmission device, it is characterised in that include the first module and the second module, described first
Module is data transmission client, and described second module is data transfer server end;Described data transmission visitor
Family end, it has two message queues, and the first message queue is the first transmit queue, and the second message queue is
First receiving queue;Wherein, the first transmit queue is for receiving the data that user side sends over, and first connects
Receive queue for receiving the data that described data transport service end sends over;
Described data transfer server end also has two message queues, and the first message queue is the second reception team
Row, the second message queue is the second transmit queue;Wherein, described data transfer server end is by network even
Receive the data from data transmission client, and above-mentioned data are sent in the second receiving queue;Institute
Stating the second transmit queue and receive the data that send of network management system network, described data transfer server end is from the
Two transmit queues read data, and sends the data to data transmission visitor by TCP or udp protocol
Family end;
When data transmission client obtains the speed of described data less than user side transmission from the first transmit queue
During to the speed of the data of the first transmit queue, then the data of the first transmit queue are the fullest, wanted by user side
The significant data sent, is first cached to this locality, and unessential data to be sent for user side is abandoned,
Described significant data is the fault data of voice gateways in network management system.
2. device as claimed in claim 1, it is characterised in that it is described that described first transmit queue receives
Data are the fault message of the call failure of voice gateway system, and it is by caller information, called party information, time slot
Any one of information or combinations thereof.
3. device as claimed in claim 1, it is characterised in that it is described that described first receiving queue receives
Data are the director data that network management system sends, including the instruction restarting process.
4. a data transmission method, it is characterised in that providing the first module, described first module is data
Transmission client, it is provided that the second module, described second module is data transfer server end;Described data pass
Defeated client, it has two message queues, and the first message queue is the first transmit queue, the second message team
It is classified as the first receiving queue;Wherein, the first transmit queue is used for receiving the data that user side sends over, the
One receiving queue is for receiving the data that described data transport service end sends over;
Described data transfer server end also has two message queues, and the first message queue is the second reception team
Row, the second message queue is the second transmit queue;Wherein, described data transfer server end is by network even
Receive the data from data transmission client, and above-mentioned data are sent in the second receiving queue;Institute
Stating the second transmit queue and receive the data that send of network management system network, described data transfer server end is from the
Two transmit queues read data, and sends the data to data transmission visitor by TCP or udp protocol
Family end;
When data transmission client obtains the speed of described data less than user side transmission from the first transmit queue
During to the speed of the data of the first transmit queue, then the data of the first transmit queue are the fullest, wanted by user side
The significant data sent, is first cached to this locality, and unessential data to be sent for user side is abandoned,
Described significant data is the fault data of voice gateways in network management system.
5. method as claimed in claim 4, it is characterised in that if described data transmission client to
Data transfer server end sends data failure, and these data send and are unsuccessfully not as network connection generation mistake
Situation, then resend above-mentioned data by mistake.
6. method as claimed in claim 5, it is characterised in that if do not become after retransmitting certain number of times
Merit, then by described data buffer storage to this locality, retransmit after a while, feeds back successfully until data send.
7. method as claimed in claim 4, it is characterised in that if described data transmission client to
Data transfer server end send data failure, and these data sends unsuccessfully be because network connection make a mistake
Situation, by the data buffer storage that do not sends to local, when data transmission client and data transfer server end
When re-establishing TCP or UDP connection, first send the data in cache file after successful connection, retransmit institute
State the data in the first transmit queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210460758.4A CN102904764B (en) | 2012-11-15 | 2012-11-15 | A kind of data transmission device and transmission method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210460758.4A CN102904764B (en) | 2012-11-15 | 2012-11-15 | A kind of data transmission device and transmission method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102904764A CN102904764A (en) | 2013-01-30 |
CN102904764B true CN102904764B (en) | 2016-08-31 |
Family
ID=47576813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210460758.4A Active CN102904764B (en) | 2012-11-15 | 2012-11-15 | A kind of data transmission device and transmission method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102904764B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827686A (en) * | 2015-11-16 | 2016-08-03 | 广东亿迅科技有限公司 | Data transmission method |
CN107665139B (en) * | 2016-07-29 | 2021-07-27 | 北京新唐思创教育科技有限公司 | Method and device for realizing real-time bidirectional drawing in online teaching |
CN112667527A (en) * | 2021-01-15 | 2021-04-16 | 北京云上曲率科技有限公司 | Method for ensuring data acquisition accuracy of client and client |
CN113301103B (en) * | 2021-02-05 | 2024-03-12 | 阿里巴巴集团控股有限公司 | Data processing system, method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6301257B1 (en) * | 1997-03-19 | 2001-10-09 | Nortel Networks Limited | Method and apparatus for transmitting data frames between switches in a meshed data network |
CN101119566A (en) * | 2007-09-24 | 2008-02-06 | 中兴通讯股份有限公司 | Module and method for implementing voice cache on mobile terminal |
CN101132257A (en) * | 2006-08-24 | 2008-02-27 | 华为技术有限公司 | Condition report transmission method and sending terminal equipment thereof |
CN101494652A (en) * | 2009-02-27 | 2009-07-29 | 中国电子科技集团公司第五十四研究所 | Method for reinforcing TCP protocol performance in satellite communication system |
CN102394925A (en) * | 2011-10-28 | 2012-03-28 | 广东电网公司电力科学研究院 | Communication method and device for remote monitoring diagnosis center and area regulation center |
-
2012
- 2012-11-15 CN CN201210460758.4A patent/CN102904764B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6301257B1 (en) * | 1997-03-19 | 2001-10-09 | Nortel Networks Limited | Method and apparatus for transmitting data frames between switches in a meshed data network |
CN101132257A (en) * | 2006-08-24 | 2008-02-27 | 华为技术有限公司 | Condition report transmission method and sending terminal equipment thereof |
CN101119566A (en) * | 2007-09-24 | 2008-02-06 | 中兴通讯股份有限公司 | Module and method for implementing voice cache on mobile terminal |
CN101494652A (en) * | 2009-02-27 | 2009-07-29 | 中国电子科技集团公司第五十四研究所 | Method for reinforcing TCP protocol performance in satellite communication system |
CN102394925A (en) * | 2011-10-28 | 2012-03-28 | 广东电网公司电力科学研究院 | Communication method and device for remote monitoring diagnosis center and area regulation center |
Also Published As
Publication number | Publication date |
---|---|
CN102904764A (en) | 2013-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10237153B2 (en) | Packet retransmission method and apparatus | |
EP2590348B1 (en) | Method and apparatus for transmitting and receiving media streams | |
US8024788B2 (en) | Method and apparatus for reliable, high speed data transfers in a high assurance multiple level secure environment | |
CN112335192A (en) | Efficient buffer management in multi-hop data forwarding | |
US9456384B2 (en) | Message processing method, device, and system | |
DE112013000411T5 (en) | Notification by network element about packet loss | |
CN102904764B (en) | A kind of data transmission device and transmission method thereof | |
JP2012074928A (en) | Data transfer device, program and method using retransmission control protocol | |
JP2014501059A (en) | Data retransmission method, data retransmission apparatus, and data retransmission system | |
CN103532822A (en) | Management method for message delivery, server and system thereof | |
CN103973414B (en) | A kind of data transmission method and device | |
CN113765976A (en) | Communication method and system | |
CN102801692B (en) | A kind of transmission control protocol optimization method and system connecting based on division | |
CN104283716A (en) | Data transmission method, equipment and system | |
JP4506430B2 (en) | Application monitor device | |
CN108092993B (en) | Network data transmission control method and system | |
JP5723307B2 (en) | Packet monitoring system | |
CN107968754B (en) | Flow table issuing method, receiving method, controller, switch and forwarding system | |
WO2019015487A1 (en) | Data retransmission method, rlc entity and mac entity | |
CN115348336A (en) | Universal transmission architecture for heterogeneous data streams | |
JP5761193B2 (en) | Communication apparatus, communication system, packet retransmission control method, and packet retransmission control program | |
JP4759418B2 (en) | Message recovery system and recovery method | |
CN111314447A (en) | Proxy server and method for processing access request thereof | |
JP2012090071A (en) | Relay device, communication system, and flow control method used for them | |
JP2016103698A (en) | Device and method for packet transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210108 Address after: No.2006 Xiyuan Avenue, Chengdu, Sichuan 611731 Patentee after: University of Electronic Science and technology of Sichuan foundation for education development Address before: Room 402, area a, Liye building, science and Technology Park, China sensor network university, Taike Park, Wuxi New District, Wuxi City, Jiangsu Province, 214135 Patentee before: WUXI UESTC TECHNOLOGY DEVELOPMENT Co.,Ltd. |
|
TR01 | Transfer of patent right |