CN105120000A - Data transmission method and transmission system - Google Patents
Data transmission method and transmission system Download PDFInfo
- Publication number
- CN105120000A CN105120000A CN201510563256.8A CN201510563256A CN105120000A CN 105120000 A CN105120000 A CN 105120000A CN 201510563256 A CN201510563256 A CN 201510563256A CN 105120000 A CN105120000 A CN 105120000A
- Authority
- CN
- China
- Prior art keywords
- data
- incidental information
- receiving terminal
- transmitting terminal
- send
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the technical field of electronic communication, and particularly relates to a data transmission method and a data transmission system. The method comprises: a sending end sends data with a specified size and incidental information; a receiving end stores the data and the incidental information; when needing to receive remaining data, the receiving end sends a command containing the incidental information to the sending end; and the sending end determines the remaining data needing to be sent according to the incidental information and sends the remaining data to the receiving end. Therefore, the method can be used for avoiding the problem that the receiving end cannot process the data to cause data loss.
Description
Technical field
The present invention relates to communication electronics field, particularly relate to a kind of data transmission method and transmission system.
Background technology
Along with the development of science and technology, Wireless Data Transmission has started the daily need meeting people.In order to ensure the stability of transfer of data, generally can select to be transmitted by bluetooth for important or larger file user.The transfer process of current existing large files Bluetooth transfer techniques is generally:
Transmitting terminal preserves file input stream, ceaselessly sense data in file input stream, and sends to receiving terminal by bluetooth output stream; Data do respective handling are received, such as, by data writing in files of receiving etc., until all transfer of data are complete at receiving terminal.
But the present inventor finds, data transmission method of the prior art exists following drawback:
One, be busy with processing other things if receive to rectify, can not process the data received in time, then likely make loss of data;
Two, before the receiving terminal available free time goes to process transmitting terminal send data time, but because preserve the data that transmitting terminal sends before in time, and the Best Times of deal with data may be missed.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and transmission system, for solving in prior art when using bluetooth data transmission, because receiving terminal cannot deal with data and cause the problem of loss of data in time.
A kind of data transmission method, the method comprises:
Transmitting terminal sends the data and incidental information of specifying size;
Receiving terminal stores described data and described incidental information;
When described receiving terminal needs to receive remaining data, send the order containing incidental information to described transmitting terminal;
Described transmitting terminal is determined need the remaining data of transmission and send to receiving terminal according to described incidental information.
A kind of transmission system, described system comprises:
Transmitting terminal, for sending the data and incidental information of specifying size; Receive the order containing incidental information sent from described receiving terminal.
Receiving terminal, for storing described data and described incidental information; When described receiving terminal needs to receive remaining data, send the order containing incidental information to described transmitting terminal; Determine need the remaining data of transmission and send to receiving terminal according to described incidental information.
Visible, use the method that the embodiment of the present invention provides, transmitting terminal sends the data of specifying size at every turn to receiving terminal, instead of sends all data; The data that cannot process immediately can store by receiving terminal, and search according to incidental information the data stored when needs use, and when determining that self can continue deal with data, the order containing incidental information is sent to transmitting terminal, after receiving terminal receives this order, determine the next part data needing to transmit according to incidental information.Visible the method can be avoided because receiving terminal cannot deal with data and cause the problem of loss of data in time.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below.
A kind of data transmission method flow chart that Fig. 1 provides for the embodiment of the present invention;
Detailed a kind of data transmission method flow chart that Fig. 2 provides for the embodiment of the present invention;
The structure drawing of device of a kind of transmission system that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the present invention better, and enable above-mentioned purpose of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the present invention is described in further detail.
Use the method that the embodiment of the present invention provides, transmitting terminal sends the data of specifying size at every turn to receiving terminal, instead of sends all data; The data that cannot process immediately can store by receiving terminal, and search according to incidental information the data stored when needs use, and when determining that self can continue deal with data, the order containing incidental information is sent to transmitting terminal, after receiving terminal receives this order, determine the next part data needing to transmit according to incidental information.Visible the method can be avoided because receiving terminal cannot deal with data and cause the problem of loss of data in time.As shown in Figure 1, idiographic flow is as follows:
Step 11, transmitting terminal sends the data and incidental information of specifying size;
Step 12, receiving terminal stores described data and described incidental information;
Step 13, when described receiving terminal needs to receive remaining data, sends the order containing incidental information to described transmitting terminal;
Step 14, described transmitting terminal is determined need the remaining data of transmission and send to receiving terminal according to described incidental information.
Concrete, send at described transmitting terminal and specify the data of size and taking a step forward of incidental information to comprise:
Described transmitting terminal, in the document flow of self, takes out the data of specifying size.
Specify size to arrange according to actual needs, preferably, described appointment size is 16kb.
Concrete, when described receiving terminal needs to use described data, search in both the buffers according to described incidental information.
Concrete, described transmitting terminal is determined need the remaining data of transmission and send to receiving terminal to comprise according to described incidental information:
Described transmitting terminal determines the remaining data needing to send according to described incidental information, and the data obtaining appointment size send to receiving terminal.
Be introduced with specific embodiment below:
The embodiment of the present invention provides a kind of data transmission method, and the method is for the content of the large data such as transfer files on the basis using Bluetooth transmission.As shown in Figure 2, the method specifically comprises:
Step 21, transmitting terminal, in the document flow of self, takes out the content of specifying the data of size will send to receiving terminal as this;
Middle finger sizing of the present invention can be arranged according to actual needs, and preferably, appointment size is 16kb;
Step 22, transmitting terminal is sent in the data of the appointment size of taking out in step 21 to receiving terminal, and the incidental information relevant to these data;
Incidental information can be used for these data sent of unique identification, also can be used for the relevant information that unique identification sends the adjacent data before and/or afterwards of data with this, is convenient to the operation carrying out data query;
Step 23, whether after receiving terminal receives the data sent, judging self can deal with data, if cannot processing execution step 24; Otherwise perform step 25;
Data and its incidental information are stored in the buffer of self by step 24; Step 25 is performed when treating available free;
Step 25, receiving terminal operates accordingly to the data that this receives;
Step 26, when receiving terminal is available free need process follow-up data time, send containing the order of incidental information to transmitting terminal;
Step 27, transmitting terminal from the data that residue does not send according to incidental information, finds out and needs the Data Concurrent sent to give receiving terminal.
Continuous repetition step 21 is to step 27, until all data are sent.
As shown in Figure 3, the embodiment of the present invention provides a kind of transmission system, and this system comprises:
Transmitting terminal 31, for sending the data and incidental information of specifying size; Receive the order containing incidental information sent from described receiving terminal.
Receiving terminal 32, for storing described data and described incidental information; When described receiving terminal needs to receive remaining data, send the order containing incidental information to described transmitting terminal; Determine need the remaining data of transmission and send to receiving terminal according to described incidental information.
Described transmitting terminal 31 also for: in the document flow of self, take out and specify the data of size.
Described appointment size is 16kb.
Described receiving terminal 32 also for: when needs use described data, search in both the buffers according to described incidental information.
Described transmitting terminal 31 also for: determine the remaining data needing to send according to described incidental information, and obtain and specify the data of size to send to receiving terminal.
In sum, beneficial effect:
Use the method that the embodiment of the present invention provides, transmitting terminal sends the data of specifying size at every turn to receiving terminal, instead of sends all data; The data that cannot process immediately can store by receiving terminal, and search according to incidental information the data stored when needs use, and when determining that self can continue deal with data, the order containing incidental information is sent to transmitting terminal, after receiving terminal receives this order, determine the next part data needing to transmit according to incidental information.Visible the method can be avoided because receiving terminal cannot deal with data and cause the problem of loss of data in time.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a data transmission method, is characterized in that, the method comprises:
Transmitting terminal sends the data and incidental information of specifying size;
Receiving terminal stores described data and described incidental information;
When described receiving terminal needs to receive remaining data, send the order containing incidental information to described transmitting terminal;
Described transmitting terminal is determined need the remaining data of transmission and send to receiving terminal according to described incidental information.
2. the method for claim 1, is characterized in that, sends specify the data of size and taking a step forward of incidental information to comprise at described transmitting terminal:
Described transmitting terminal, in the document flow of self, takes out the data of specifying size.
3. method as claimed in claim 1 or 2, it is characterized in that, described appointment size is 16kb.
4. the method for claim 1, is characterized in that, when described receiving terminal needs to use described data, searches in both the buffers according to described incidental information.
5. the method for claim 1, is characterized in that, described transmitting terminal is determined need the remaining data of transmission and send to receiving terminal to comprise according to described incidental information:
Described transmitting terminal determines the remaining data needing to send according to described incidental information, and the data obtaining appointment size send to receiving terminal.
6. a transmission system, is characterized in that, described system comprises:
Transmitting terminal, for sending the data and incidental information of specifying size; Receive the order containing incidental information sent from described receiving terminal.
Receiving terminal, for storing described data and described incidental information; When described receiving terminal needs to receive remaining data, send the order containing incidental information to described transmitting terminal; Determine need the remaining data of transmission and send to receiving terminal according to described incidental information.
7. system as claimed in claim 6, is characterized in that, described transmitting terminal also for: in the document flow of self, take out the data of specifying size.
8. system as claimed in claims 6 or 7, it is characterized in that, described appointment size is 16kb.
9. system as claimed in claim 6, is characterized in that, described receiving terminal also for: when needs use described data, search in both the buffers according to described incidental information.
10. system as claimed in claim 6, is characterized in that, described transmitting terminal also for: determine the remaining data needing to send according to described incidental information, and obtain and specify the data of size to send to receiving terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510563256.8A CN105120000A (en) | 2015-09-07 | 2015-09-07 | Data transmission method and transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510563256.8A CN105120000A (en) | 2015-09-07 | 2015-09-07 | Data transmission method and transmission system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105120000A true CN105120000A (en) | 2015-12-02 |
Family
ID=54667883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510563256.8A Pending CN105120000A (en) | 2015-09-07 | 2015-09-07 | Data transmission method and transmission system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105120000A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070281617A1 (en) * | 2006-06-02 | 2007-12-06 | Arnaud Meylan | Efficient operation for co-located WLAN and bluetooth |
CN101453751A (en) * | 2007-12-05 | 2009-06-10 | 高德软件有限公司 | Method for large file transmission under narrow-band network environment |
CN102739357A (en) * | 2012-05-30 | 2012-10-17 | 深圳市通盛网络技术有限公司 | Data error-free transmission processing method |
CN104363200A (en) * | 2014-10-10 | 2015-02-18 | 福建联迪商用设备有限公司 | Bluetooth transmission control method and device |
-
2015
- 2015-09-07 CN CN201510563256.8A patent/CN105120000A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070281617A1 (en) * | 2006-06-02 | 2007-12-06 | Arnaud Meylan | Efficient operation for co-located WLAN and bluetooth |
CN101453751A (en) * | 2007-12-05 | 2009-06-10 | 高德软件有限公司 | Method for large file transmission under narrow-band network environment |
CN102739357A (en) * | 2012-05-30 | 2012-10-17 | 深圳市通盛网络技术有限公司 | Data error-free transmission processing method |
CN104363200A (en) * | 2014-10-10 | 2015-02-18 | 福建联迪商用设备有限公司 | Bluetooth transmission control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103532984B (en) | Data transmission method, device and system of websocket protocol | |
CN104135753A (en) | Wireless network access method, wireless network access device, terminal and server | |
US10043220B2 (en) | Method, device and storage medium for data processing | |
KR101966268B1 (en) | Message display method, apparatus and device | |
US8635561B1 (en) | System and method for sorting electronic documents | |
CN106649617B (en) | Method for analyzing data structure of Windows Phone short message | |
CN105072015A (en) | Voice information processing method, server, and terminal | |
EP3018590A1 (en) | Document processing method and system in wireless communications device | |
CN104079623A (en) | Method and system for controlling multilevel cloud storage synchrony | |
US9753617B2 (en) | Information processing apparatus, and information processing method | |
CN105357305A (en) | File sending method and device, file receiving method and device and terminal equipment | |
CN111414339B (en) | File processing method, system, device, equipment and medium | |
CN110069506A (en) | Maintaining method, device and the server of business datum | |
CN109871685B (en) | RTF file analysis method and device | |
CN104375783A (en) | EEPROM data writing method | |
CN104102530B (en) | A kind of method and system for improving electronic product replication rate | |
CN105120000A (en) | Data transmission method and transmission system | |
MY163829A (en) | Mobile terminal, work information management system, work information management method, work information management program, communication device, information management system, information management method, and information management program | |
CN101883345B (en) | Method and device for processing AT command | |
TW201437800A (en) | Status switching method | |
US20150199124A1 (en) | Information processing apparatus, information processing program, and information processing method | |
CN111857546A (en) | Method, network adapter and computer program product for processing data | |
CN102769658A (en) | Method and device for restoring network files | |
CN110874334B (en) | USB transmission system, USB device and host supporting USB transmission | |
CN201789601U (en) | Interphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151202 |
|
WD01 | Invention patent application deemed withdrawn after publication |