CN102739357B - data error-free transmission processing method - Google Patents
data error-free transmission processing method Download PDFInfo
- Publication number
- CN102739357B CN102739357B CN201210172903.9A CN201210172903A CN102739357B CN 102739357 B CN102739357 B CN 102739357B CN 201210172903 A CN201210172903 A CN 201210172903A CN 102739357 B CN102739357 B CN 102739357B
- Authority
- CN
- China
- Prior art keywords
- data
- receiving terminal
- spatial cache
- bag
- steps
- 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.)
- Expired - Fee Related
Links
Abstract
The invention provides a kind of data error-free transmission processing method, comprise the steps: that A. receiving terminal receives data sending request; B. the data received are stored in spatial cache by receiving terminal; C. receiving terminal is by the data write local data file in spatial cache.The invention has the beneficial effects as follows that mass data can not cause loss because of bust this in the process transmitted, ensure the error free transmission of large data.
Description
Technical field
The present invention relates to data transmission method, particularly relate to data error-free transmission processing method.
Background technology
Due to the disequilibrium of Information Technology Development and the variation of business function, result in each office, multiple service software system is established for different business in the process that enterprises and institutions develop in informatization, each system data is separate, define information island, each system is implement resource integration, unified process is the direction of information system development, to the business datum of magnanimity be had to need zero defect transmission with mutual thus, due to the restriction of hardware device, mass data easily causes loss because of bust this in the process transmitted, how to ensure that the error free transmission of large data seems particularly urgent.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of data error-free transmission processing method.
The invention provides a kind of data error-free transmission processing method, comprise the steps:
A. receiving terminal receives data sending request;
B. the data received are stored in spatial cache by receiving terminal;
C. receiving terminal is by the data write local data file in spatial cache.
As a further improvement on the present invention, in described steps A, data sending request comprises data length, bag size, bag number, finally bag size, suspends bag number.
As a further improvement on the present invention, in described step B, also comprise the steps:
B1. receiving terminal is according to time-out bag number application spatial cache, and spatial cache size is that bag size * suspends bag number, if spatial cache application success, then performs B2 step, otherwise prompting low memory;
B2. receiving terminal sends data continuation transmission command to transmitting terminal, and parameter comprises data and sends original position;
B3. after transmitting terminal receives data continuation transmission command, extract data and send original position parameter, data pointer is moved to data and send original position, read the packet of the several number of time-out bag, circulate to receiving terminal and send data content;
B4. receiving terminal receives data content, and is copied in spatial cache by data content.
As a further improvement on the present invention, comprise the steps: in described step C
C1. receiving terminal judges whether that all data finish receiving, and as completed, then sends DTD order to transmitting terminal, and performs C2 step; As do not completed, then perform B2 step;
C2. all memory variables used in transmitting terminal release transmission.
As a further improvement on the present invention, comprise the steps: in described step B4
B41. checking whether spatial cache receives data, as received data, then performing B2 step; Otherwise send data re-transmitting order to transmitting terminal, parameter is the packet sequence number row do not received;
B42. transmitting terminal receives data re-transmitting order, then extract the packet sequence number row do not received, then perform B2 step.
The invention has the beneficial effects as follows: mass data can not cause loss because of bust this in the process transmitted, and ensures the error free transmission of large data.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Fig. 2 is the method flow diagram of one embodiment of the invention.
Embodiment
As shown in Figure 1, the invention discloses a kind of data error-free transmission processing method, comprise step S1 to step S3, in step sl, receiving terminal receives data sending request.In step s 2, the data received are stored in spatial cache by receiving terminal.In step s3, receiving terminal is by the data write local data file in spatial cache.
As shown in Figure 2, as one embodiment of the invention, comprise step Q1 to step Q10.In step Q1, receiving terminal receives data sending request, and data sending request comprises data length, bag size, bag number, finally bag size, suspends bag number.In step Q2, set up spatial cache, and judge whether successful spatial cache is set up, if success, performs Q3 step, otherwise prompting low memory; Receiving terminal is according to time-out bag number application spatial cache, and spatial cache size is that bag size * suspends bag number.In step Q3, receiving terminal sends data to transmitting terminal and continues transmission command, and parameter comprises data and sends original position.In step q 4, transmitting terminal extracts data and sends original position parameter after receiving data continuation transmission command, data pointer is moved to data and sends original position, reads the packet of the several number of time-out bag, circulates to receiving terminal and sends data content.In step Q5, receiving terminal receives data content, and is copied in spatial cache by data content.In step Q6, checking whether spatial cache receives data, as received data, then performing Q3 step; Otherwise send data re-transmitting order to transmitting terminal, parameter is the packet sequence number row do not received.In step Q7, transmitting terminal receives data re-transmitting order, then extract the packet sequence number row do not received, then perform Q3 step.Perform step Q6 and step Q8 after execution step Q5 simultaneously.In step Q8, receiving terminal is by the data write local data file in spatial cache.In step Q9, receiving terminal judges whether that all data finish receiving, and as completed, then sends DTD order to transmitting terminal, and performs Q10 step; As do not completed, then perform Q3 step.In step Q10, all memory variables used during transmitting terminal release sends.
Mass data can not cause loss because of bust this in the process transmitted, and ensures the error free transmission of large data.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.
Claims (3)
1. a data error-free transmission processing method, is characterized in that, comprises the steps:
A. receiving terminal receives data sending request;
B. the data received are stored in spatial cache by receiving terminal;
C. receiving terminal is by the data write local data file in spatial cache;
In described steps A, data sending request comprises data length, bag size, bag number, finally bag size, suspends bag number;
In described step B, also comprise the steps:
B1. receiving terminal is according to time-out bag number application spatial cache, and spatial cache size is that bag size * suspends bag number, if spatial cache application success, then performs B2 step, otherwise prompting low memory;
B2. receiving terminal sends data continuation transmission command to transmitting terminal, and parameter comprises data and sends original position;
B3. after transmitting terminal receives data continuation transmission command, extract data and send original position parameter, data pointer is moved to data and send original position, read the packet of the several number of time-out bag, circulate to receiving terminal and send data content;
B4. receiving terminal receives data content, and is copied in spatial cache by data content.
2. data error-free transmission processing method according to claim 1, is characterized in that, comprises the steps: in described step C
C1. receiving terminal judges whether that all data finish receiving, and as completed, then sends DTD order to transmitting terminal, and performs C2 step; As do not completed, then perform B2 step;
C2. all memory variables used in transmitting terminal release transmission.
3. data error-free transmission processing method according to claim 2, is characterized in that, comprises the steps: in described step B4
B41. checking whether spatial cache receives data, as received data, then performing B2 step; Otherwise send data re-transmitting order to transmitting terminal, parameter is the packet sequence number row do not received;
B42. transmitting terminal receives data re-transmitting order, then extract the packet sequence number row do not received, then perform B2 step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210172903.9A CN102739357B (en) | 2012-05-30 | 2012-05-30 | data error-free transmission processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210172903.9A CN102739357B (en) | 2012-05-30 | 2012-05-30 | data error-free transmission processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102739357A CN102739357A (en) | 2012-10-17 |
CN102739357B true CN102739357B (en) | 2015-09-23 |
Family
ID=46994213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210172903.9A Expired - Fee Related CN102739357B (en) | 2012-05-30 | 2012-05-30 | data error-free transmission processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102739357B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024401B (en) * | 2012-11-23 | 2015-04-01 | 中国电影科学技术研究所 | Method and system for reissuing data to video file |
CN103077145B (en) * | 2012-12-28 | 2016-11-02 | Tcl康钛汽车信息服务(深圳)有限公司 | A kind of data sending, receiving method and system |
CN106330756B (en) * | 2015-07-03 | 2020-01-03 | 华为技术有限公司 | Data transmission method and equipment |
CN105120000A (en) * | 2015-09-07 | 2015-12-02 | 北京君正集成电路股份有限公司 | Data transmission method and transmission system |
CN106255150B (en) * | 2016-08-22 | 2019-07-05 | 上海交通大学 | A method of the interference based on receiving end caching is eliminated and signal enhancing |
CN110784620A (en) * | 2019-10-31 | 2020-02-11 | 南京耕硕电子科技有限公司 | Equipment data intercommunication method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064910A (en) * | 2006-04-24 | 2007-10-31 | 维豪信息技术有限公司 | Call control based terminal-to-terminal breakpoint transmission method |
CN101110656A (en) * | 2006-07-18 | 2008-01-23 | 宇龙计算机通信科技(深圳)有限公司 | File transferring method for wireless network hard disk system |
CN101150540A (en) * | 2007-11-07 | 2008-03-26 | 北京亿企通信息技术有限公司 | A method for continuous file transfer at interruption point in instant communication tool |
CN101174954A (en) * | 2006-10-31 | 2008-05-07 | 上海高勤通信科技有限公司 | Document breaking point uploading method based on internet hypertext transfer protocol |
CN101291195A (en) * | 2008-05-23 | 2008-10-22 | 中兴通讯股份有限公司 | File downloading method, system and terminal realizing breaker point continuous transmission |
CN101771494A (en) * | 2008-12-29 | 2010-07-07 | 深圳市维信联合科技有限公司 | Data transmission method and data transmission device |
CN101902776A (en) * | 2010-07-08 | 2010-12-01 | 华南理工大学 | Improved request-to-send (RTS)/clear-to-send (CTS)-based method for controlling congestion of multi-hop wireless network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005064840A1 (en) * | 2003-12-29 | 2005-07-14 | Electronics And Telecommunications Research Institute | Method for retransmitting packet in mobile communication system and computer-readable medium recorded program thereof |
-
2012
- 2012-05-30 CN CN201210172903.9A patent/CN102739357B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064910A (en) * | 2006-04-24 | 2007-10-31 | 维豪信息技术有限公司 | Call control based terminal-to-terminal breakpoint transmission method |
CN101110656A (en) * | 2006-07-18 | 2008-01-23 | 宇龙计算机通信科技(深圳)有限公司 | File transferring method for wireless network hard disk system |
CN101174954A (en) * | 2006-10-31 | 2008-05-07 | 上海高勤通信科技有限公司 | Document breaking point uploading method based on internet hypertext transfer protocol |
CN101150540A (en) * | 2007-11-07 | 2008-03-26 | 北京亿企通信息技术有限公司 | A method for continuous file transfer at interruption point in instant communication tool |
CN101291195A (en) * | 2008-05-23 | 2008-10-22 | 中兴通讯股份有限公司 | File downloading method, system and terminal realizing breaker point continuous transmission |
CN101771494A (en) * | 2008-12-29 | 2010-07-07 | 深圳市维信联合科技有限公司 | Data transmission method and data transmission device |
CN101902776A (en) * | 2010-07-08 | 2010-12-01 | 华南理工大学 | Improved request-to-send (RTS)/clear-to-send (CTS)-based method for controlling congestion of multi-hop wireless network |
Also Published As
Publication number | Publication date |
---|---|
CN102739357A (en) | 2012-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102739357B (en) | data error-free transmission processing method | |
CN104980190B (en) | data transmission system and transmission method of Bluetooth interface | |
CN109902053A (en) | A kind of SPI communication method, terminal device and storage medium based on dual controller | |
CN104506379B (en) | Network Data Capturing method and system | |
CN106790599A (en) | It is a kind of based on multinuclear without lock buffer circle symbiosis virtual machine communication method | |
CN105009089B (en) | For promoting the device and method of the management to instruction violation behavior | |
CN107248169B (en) | Image positioning method and device | |
CN112671760A (en) | Socket-based client cross-platform network communication method and related equipment thereof | |
CN103888441A (en) | Information transmitting method between application and protocol stack and processing device | |
CN103677968B (en) | Transaction methods, affairs coordinator device, affairs participant's apparatus and system | |
CN103001843A (en) | Organic photoconductor (OPC) protocol converter based on embedded VxWorks | |
CN110138738A (en) | The intelligentized method, apparatus of office meeting, system, storage medium and server | |
CN106033422A (en) | A database operation control method, device and system | |
CN110334160A (en) | Relationship binding method, device and equipment based on block chain | |
CN109656992A (en) | A kind of data transmission account checking method, device and equipment | |
CN110069247A (en) | A kind of development approach and device, application method and device of application program | |
CN201788511U (en) | Safety information exchange device | |
CN101471955A (en) | Method for writing equipment data in dual-controller network storage circumstance | |
CN103699994B (en) | A kind of method and system that space transference is carried out to mobile terminal stored value card | |
TWI465916B (en) | Asymmetric transport system and method of heterogeneous dual-core | |
CN105739919B (en) | Data accessing system and method | |
CN103455401A (en) | Coordinated verifying method for tight coupling architecture of DSP (Digital Signal Processor) and FPGA (Field Programmable Gate Array) | |
CN111143218B (en) | Log debugging method and device suitable for 5G embedded equipment and readable storage medium | |
CN103425583B (en) | The tracking of a kind of multi-DSP parallel system and back method | |
CN105653477A (en) | Double-port RAM-based method for communication of hard core and soft core in FPGA |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150923 Termination date: 20190530 |