CN107395328A - Gradual data encoding transmission method - Google Patents

Gradual data encoding transmission method Download PDF

Info

Publication number
CN107395328A
CN107395328A CN201710710212.2A CN201710710212A CN107395328A CN 107395328 A CN107395328 A CN 107395328A CN 201710710212 A CN201710710212 A CN 201710710212A CN 107395328 A CN107395328 A CN 107395328A
Authority
CN
China
Prior art keywords
data
transmission
server
client
gradation
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.)
Granted
Application number
CN201710710212.2A
Other languages
Chinese (zh)
Other versions
CN107395328B (en
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.)
Guangzhou Zhongwei Engineering Consulting Co., Ltd
Original Assignee
唐华艺
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 唐华艺 filed Critical 唐华艺
Priority to CN201710710212.2A priority Critical patent/CN107395328B/en
Publication of CN107395328A publication Critical patent/CN107395328A/en
Application granted granted Critical
Publication of CN107395328B publication Critical patent/CN107395328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0014Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the source coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Abstract

A kind of gradual data encoding transmission method, including:The current window size of server is obtained, and stores the current window size;Request server is encoded using progressive coding transmission means to data;The gradation transmission quantity of server transport coded data is determined according to the species of progressive coding transmission means;Compare the current window size of server and form size during last transmission data, and the gradation transmission quantity of server current transmission data is determined according to result of the comparison;Server is notified to transmit data, and the data of the reception server transmission according to the gradation transmission quantity.The present invention also provides a kind of gradual data encoding Transmission system.It can overcome progressive coding transmission can not be the very first time parse preferable picture the defects of using the present invention.

Description

Gradual data encoding transmission method
The application be Application No. 2012105611464, the applying date be that December 21, invention and created name in 2012 are The divisional application of the patent of " gradual data encoding transmission method ".
Technical field
The present invention relates to the progressive coding transmission method of a kind of data transmission method, more particularly to a kind of data.
Background technology
Showing the mode of picture on network at present has two kinds of sequential coding and progressive coding.Sequential coding refers to: Include after picture is processed by order left-to-right, from top to bottom on screen.And progressive coding is then first by picture General profile or fuzzy image are shown on screen, are then again slowly mended the detailed information of picture by the requirement of client Foot, picture is transmitted by obscuring clearly mode.Current progressive coding using the data volume that transmission picture is fixed every time to Client decodes, then by picture by obscuring to clearly slowly showing.However, the progressive coding can not be in network When frequency range allows to receive larger amount of data, the picture of certain mass is shown in the very first time, is such as shown in the very first time more clear The picture of Chu.
The content of the invention
In view of the foregoing, it is necessary to a kind of gradual data encoding Transmission system is provided, progressive coding can be overcome Transmission can not be parse preferable picture the defects of the very first time.
It there is a need to and a kind of gradual data encoding transmission method is provided, can overcome progressive coding transmission can not be the The defects of one time parsed preferable picture.
The gradual data encoding Transmission system, runs on a client.The system includes:Acquisition module, it is used for The current window size of the client is obtained, and stores the current window size;Request module, for asking the server to use Progressive coding transmission means is encoded to data, and the data after coding are temporarily stored in the buffer of the server;Adjust mould Block, for determining the gradation transmission quantity of server transport coded data according to the species of progressive coding transmission means, compare The current window size of client and form size during last transmission data, and server is determined according to the result of the comparison The gradation transmission quantity of current transmission data;And receiving module, for notifying gradation transmission quantity of the server according to the determination Data are transmitted, receive the data of the server transport.
The gradual data encoding transmission method, applied to a client.This method includes:Obtaining step, obtain The current window size of the client, and store the current window size;Request step, the server is asked to use gradual volume Code transmission means is encoded to data, and the data after coding are temporarily stored in the buffer of the server;Set-up procedure one, according to The species of progressive coding transmission means determines the gradation transmission quantity of server transport coded data;Set-up procedure two, compares The current window size of client and form size during last transmission data, and according to the result of the comparison, it is determined that service The gradation transmission quantity of device current transmission data;And receiving step, notify the server to be passed according to the gradation transmission quantity of the determination Transmission of data, receive the data of the server transport.
A kind of gradual data encoding transmission method, applied in server.This method includes:Customer in response end asks Ask, a gradual data transmission terminal is provided for client;Data are carried out with progressive coding transmission means using encoder Coding;Data after coding are temporary in a buffer;And customer in response end notice and according to client determine gradation pass Throughput rate transmits data.
Compared to prior art, the gradual data encoding Transmission system, the window size in TCP packages are utilized To determine to send the data volume of client to every time during progressive transmission, and more data are transmitted when frequency band is wider Amount so that the very first time can parse preferable picture and show.
Brief description of the drawings
Fig. 1 is the running environment schematic diagram of the gradual data encoding Transmission system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of gradual data encoding Transmission system preferred embodiment in Fig. 1.
Fig. 3 is the operation process chart of the gradual data encoding transmission method preferred embodiment of the present invention.
Main element symbol description
Client 1
Storage device 10
Processor 12
Display screen 14
Decoder 16
Gradual data encoding Transmission system 100
Server 2
Memory 20
Gradual data encoding transmission unit 200
Encoder 22
Buffer 24
Acquisition module 1000
Request module 1002
Adjusting module 1004
Receiving module 1006
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the present invention.
Embodiment
As shown in figure 1, it is the running environment schematic diagram of the gradual data encoding Transmission system preferred embodiment of the present invention.Should Gradual data encoding Transmission system 100 is run in a client 1, and the client 1 is connected by network and a server 2 Connect.In the present embodiment, the network defers to transmission control protocol (Transmission Control Protocol, TCP).
The server 2 mainly includes memory 20, encoder 22 and buffer 24.
A gradual data encoding transmission unit 200 is stored in the memory 20.The gradual data encoding passes Defeated unit 200 is made up of one or more computerization program segments, with the gradual data encoding Transmission system in client 1 100 is interactive, to realize the progressive coding of data and transfer function.
Specifically, the gradual data encoding transmission unit 200 is used for the request at customer in response end 1, is carried for client 1 For a gradual data transmission terminal, data are encoded with progressive coding transmission means using encoder 22, and will be compiled Data after code are temporarily stored in buffer 24.Then, gradual data encoding transmission unit 200 will according to the demand of client 1 Data in buffer 24 do corresponding transmission.
In the present embodiment, because the network of the connection server 2 of client 1 defers to transmission control protocol, therefore server 2 It is TCP packages to transmit to the data of client 1.
The client 1 mainly includes storage device 10, at least a processor 12, display screen 14 and decoder 16.
The storage device 10 is used for the computer programing generation for storing the gradual data encoding Transmission system 100 Code.The storage device 10 can be the memory built in client 1, or the external memory of client 1.
An at least processor 12 is used for the computer program for performing the gradual data encoding Transmission system 100 Code, filed a request to server 2, it is desirable to which server 2 is transmitted data encoding and by several times with progressive coding transmission means, is connect The TCP packages that server 2 transmits are received, and the TCP packages received are subjected to decoding operate using decoder 16.
The display screen 14 is used for the data for showing that decoder 16 is obtained after being decoded to the TCP packages, the data Such as picture.
As shown in Fig. 2 it is the functional block diagram of the gradual preferred embodiment of data encoding Transmission system 100 in Fig. 1.This is gradually Entering formula data encoding Transmission system 100 includes acquisition module 1000, request module 1002, adjusting module 1004 and receiving module 1006.Module alleged by the present invention is to complete the computer program code segments of a specific function, is existed than program more suitable for description software Implementation procedure in computer, therefore software description is all described with module below the present invention.The work(of module 1000 to 1006 It will can be described in detail in figure 3.
As shown in figure 3, it is the operation process chart of the gradual data encoding transmission method preferred embodiment of the present invention.
Step S100, client 1 are established with server 2 and connected, and after successful connection, the gradual number in server 2 Information, which can be sent, according to coding transmission unit 200 informs that client 1 is successfully established connection.Wherein, gradual data encoding transmission is single The information that member 200 is sent is a TCP package.For the TCP packages being different from during following transmission data, the present embodiment will herein TCP packages be defined as TCP form packages.
Step S102, acquisition module 1000 obtains the current window size of server 2 from the TCP forms package, and deposits The current window size is stored up in storage device 10.
It should be noted that the translator of English of the form size in the present embodiment is window size or sliding Window size, its be used for define once can receive or transmit data buffer size (in the present embodiment referred to as " point Secondary transmission quantity ").The principal element for determining the gradation transmission quantity is network bandwidth.
Step S104, request module 1002 send information to server 2, ask the server 2 to be passed using progressive coding Defeated mode encodes to data.After server 2 receives the information, encoder 22 can be utilized to needing to be sent to client 1 data carry out progressive coding, and the data after coding are TCP packages.For example, the data can be picture, picture is compiled TCP packages are obtained after code.
Step S106, server 2 send information and inform the success of the progressive coding of client 1, and by the data after coding (i.e. TCP packages) it is temporarily stored in buffer 24.
Step S108, adjusting module 1004 determine that server 2 transmits TCP and sealed according to the species of progressive coding transmission means The gradation transmission quantity of bag.
Wherein, gradation transmission quantity corresponding to the species of every kind of progressive coding transmission means is different.In the present embodiment, this is gradually The species for entering formula coding transfer method be layered simultaneously biography by several times including a pictures are divided into multiple digit planes (bit plane) Send, a pictures are carried out to the coefficient transmission by several times according to caused by after discrete cosine (DCT) conversion.
For example, if the species of progressive coding transmission means is layered for a pictures are divided into multiple bit plane Transmission, adjusting module 1004 then determine once to pass how many individual bit plane TCP packages.If progressive coding transmission means Species is that the coefficient according to caused by transmits by several times after a pictures are carried out into DCT conversions, and adjusting module 1004 then determines once Pass the TCP packages of how many individual coefficients.
Step S110, adjusting module 1004 compare the current window size of client and form during last transmission data Size (hereinafter referred to as " last form size "), and judge whether the current window size is more than or waits in step S112 In last form size.When judged result is no, flow enters step S114.When judged result for when being, flow enters Step S116.
Step S114, adjusting module 1004 reduce the gradation transmission quantity of data, and then flow enters step S118.I.e.:When The transmission quantity of the preceding TCP packages of transmission every time is less than gradation transmission quantity during last transmission data.
Step S116, adjusting module 1004 improve the gradation transmission quantity of data, and then flow enters step S118.I.e.:When The transmission quantity of the preceding TCP packages of transmission every time is more than gradation transmission quantity during last transmission data.
Assuming that the species of progressive coding transmission means is that a pictures are divided into eight bit used by server 2 Plane is transmitted by several times to do, if current window size is more than or equal to last form size, representing network bandwidth can receive Than last more TCP packages, now, client 1 can require that server 2 once transmits more bit plane.Example Such as, it is assumed that gradation transmission quantity during last time transmission data is once passes four layers of bit plane, if current window size is more than Or equal to last form size, then, the gradation transmission quantity of current data can be brought up to every time transmission five layers, six layers, seven Layer or eight layers of bit plane.
If current window size is less than last form size, more TCP envelopes can not be handled at present by representing client 1 Bag, client 1 can require that server 2 only transmits one layer of bit plane every time, so still can reach the effect of progressive transmission.Example Such as, it is assumed that gradation transmission quantity during last time transmission data is once passes four layers of bit plane, if current window size is less than Last form size, then, the gradation transmission quantity of current data can be reduced to three layers, two layers or one layer bit of transmission every time plane。
Step S118, receiving module 1006 notify the server 2 to transmit data according to the gradation transmission quantity of the determination, connect The data of the server transport are received, client 1 carries out decoding operate using decoder 16 to the data of reception, and will be decoded Data are shown on display screen 14.Herein, the data that server 2 transmits are TCP packages.
Step S110, the data volume as needed of receiving module 1006 and received data amount judge whether data are transmitted Finish.
When judged result is data end of transmission, terminate flow.
When judged result end of transmission non-for data, flow is back to step S110.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference The present invention is described in detail for preferred embodiment, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.

Claims (4)

1. a kind of gradual data encoding transmission method, it is characterised in that this method includes:
Obtaining step, obtains the current window size for the server being connected with the client, and stores the current window size;
Request step, the server is asked to be encoded using progressive coding transmission means to data, the data after coding are temporary In the presence of in the buffer of the server;
Set-up procedure one, the gradation for determining the server transport coded data according to the species of progressive coding transmission means pass Throughput rate;
Set-up procedure two, the current window size of the server and form size during last transmission data, and root According to the result of the comparison, the gradation transmission quantity of server current transmission data is determined;And
Receiving step, notify the server to transmit data according to the gradation transmission quantity of the current transmission data of the determination, receive The data of the server transport;
The request at customer in response end, a gradual data transmission terminal is provided for client;
Data are encoded with progressive coding transmission means using encoder;
Data after coding are temporary in a buffer;And
The notice at customer in response end and the gradation transmission quantity transmission data determined according to client.
If current window size is more than or equal to form size during last transmission data, improves the server and work as forward pass The gradation transmission quantity of transmission of data;And
If current window size is less than form size during last transmission data, the server current transmission data are reduced Gradation transmission quantity.
2. gradual data encoding transmission method as claimed in claim 1, it is characterised in that the server is receiving visitor After the request encoded using progressive coding transmission means to data that family end is sent, the number to needing to be transferred to client According to progressive coding is carried out, client progressive coding success is informed, and the data after coding are temporary in a buffer.
3. gradual data encoding transmission method as claimed in claim 1, it is characterised in that this method also includes:
Decoding step, the data received are subjected to decoding operate.
4. gradual data encoding transmission method as claimed in claim 1, it is characterised in that this method is wrapped before obtaining step Include:
The client is established with the server and connected;And
The server informs that the client is successfully established connection after successful connection.
CN201710710212.2A 2012-12-21 2012-12-21 Progressive data coding transmission method Active CN107395328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710710212.2A CN107395328B (en) 2012-12-21 2012-12-21 Progressive data coding transmission method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210561146.4A CN103888214B (en) 2012-12-21 2012-12-21 Gradual data encoding transmission method
CN201710710212.2A CN107395328B (en) 2012-12-21 2012-12-21 Progressive data coding transmission method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210561146.4A Division CN103888214B (en) 2012-12-21 2012-12-21 Gradual data encoding transmission method

Publications (2)

Publication Number Publication Date
CN107395328A true CN107395328A (en) 2017-11-24
CN107395328B CN107395328B (en) 2019-12-13

Family

ID=50956948

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201710710212.2A Active CN107395328B (en) 2012-12-21 2012-12-21 Progressive data coding transmission method
CN201710592952.0A Pending CN107181573A (en) 2012-12-21 2012-12-21 Gradual data encoding Transmission system
CN201210561146.4A Expired - Fee Related CN103888214B (en) 2012-12-21 2012-12-21 Gradual data encoding transmission method

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN201710592952.0A Pending CN107181573A (en) 2012-12-21 2012-12-21 Gradual data encoding Transmission system
CN201210561146.4A Expired - Fee Related CN103888214B (en) 2012-12-21 2012-12-21 Gradual data encoding transmission method

Country Status (1)

Country Link
CN (3) CN107395328B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446081B (en) * 2019-09-04 2022-02-22 南京安谱软件有限公司 Video processing method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783852A (en) * 2004-12-03 2006-06-07 微软公司 Efficient transfer of messages using reliable messaging protocols for WEB services
US20100054123A1 (en) * 2008-08-30 2010-03-04 Liu Yong Method and device for hign utilization and efficient flow control over networks with long transmission latency
US20120078994A1 (en) * 2010-09-29 2012-03-29 Steve Jackowski Systems and methods for providing quality of service via a flow controlled tunnel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075741B (en) * 2010-12-14 2012-12-12 北京华环电子股份有限公司 Image transmission method, terminal and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783852A (en) * 2004-12-03 2006-06-07 微软公司 Efficient transfer of messages using reliable messaging protocols for WEB services
US20100054123A1 (en) * 2008-08-30 2010-03-04 Liu Yong Method and device for hign utilization and efficient flow control over networks with long transmission latency
US20120078994A1 (en) * 2010-09-29 2012-03-29 Steve Jackowski Systems and methods for providing quality of service via a flow controlled tunnel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付放鸣: ""面向自适应码流的渐进编码方法的研究"", 《信息安全技术》 *

Also Published As

Publication number Publication date
CN107395328B (en) 2019-12-13
CN107181573A (en) 2017-09-19
CN103888214A (en) 2014-06-25
CN103888214B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN104199927B (en) Data processing method and data processing equipment
EP2285029B1 (en) Data transmission method, transmission system and data transmitter
JP3201265B2 (en) Data transmission apparatus and method
CN103346800B (en) A kind of data compression method and device
CN106603506B (en) Data communication method, device and system based on multi-field bus
CN109547467A (en) Media data error correction transmission and error correction method, device, equipment and storage medium
EP2219117A1 (en) A processing module, a device, and a method for processing of XML data
CN107181794B (en) DICOM network transmission method based on DIMSE message sending and receiving
CN113271493A (en) Video stream decoding method and computer-readable storage medium
CN103248951A (en) System and method for adding scrolling information into video
CN103888214B (en) Gradual data encoding transmission method
CN105635802A (en) Transmission method of digital media data and device
CA2539464A1 (en) System and method for dynamic content processing with extendable provisioning
CN103503381B (en) The method of data transmission of device redirection, Apparatus and system
US20160330298A1 (en) System, Terminal, Server, and Method for Data Transmission
US20120294541A1 (en) Transform Space Difference Compression
US7925721B2 (en) Method and apparatus for converting the modality of multimedia contents to support the quality of service according to media resource
CN115630614B (en) Data transmission method, device, electronic equipment and medium
EP1710719B1 (en) Image transmission method, computer-readable image transmission program, and image transmission apparatus
US20060133678A1 (en) Data transfer system
JP2014123355A (en) Data encode transmission system and method therefor
CN101309259B (en) Distributed image display method
CN116863949A (en) Communication receiving method and device thereof
US7787624B2 (en) Method for inserting synchronization markers into a video stream, compatible with a block cipher
WO2021036189A1 (en) Rdma data sending and receiving methods, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191120

Address after: 511400 No.05, floor 4, building 18, giant Creative Park, no.644, Shibei Road, Dashi street, Panyu District, Guangzhou City, Guangdong Province

Applicant after: Guangzhou Zhongwei Engineering Consulting Co., Ltd

Address before: 637500 Nanchong city in Sichuan Province town of Anping bridge Jialing Street No. 150

Applicant before: Tang Huayi

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant