CN106034157A - HTTP transmission method in data exchange, server and storage device - Google Patents

HTTP transmission method in data exchange, server and storage device Download PDF

Info

Publication number
CN106034157A
CN106034157A CN201510119975.0A CN201510119975A CN106034157A CN 106034157 A CN106034157 A CN 106034157A CN 201510119975 A CN201510119975 A CN 201510119975A CN 106034157 A CN106034157 A CN 106034157A
Authority
CN
China
Prior art keywords
data
request
client
header
server
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.)
Withdrawn
Application number
CN201510119975.0A
Other languages
Chinese (zh)
Inventor
刘阳
袁庆升
薛晨
黄亮
李高超
邹学强
常为岭
徐原
王凯峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tianyuan Te Tong Science And Technology Ltd
National Computer Network and Information Security Management Center
Original Assignee
Beijing Tianyuan Te Tong Science And Technology Ltd
National Computer Network and Information Security Management Center
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 Beijing Tianyuan Te Tong Science And Technology Ltd, National Computer Network and Information Security Management Center filed Critical Beijing Tianyuan Te Tong Science And Technology Ltd
Priority to CN201510119975.0A priority Critical patent/CN106034157A/en
Publication of CN106034157A publication Critical patent/CN106034157A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an HTTP transmission method in data exchange. The method comprises that a server end receives a connection request; connection is established via HTTP; a data request is received via the connection; response to the data request is made and sent; the data request is processed to retrieve demanded data; and after that the demanded data is found by retrieval, a final response is sent to a client. The invention also provides a server for implementing data exchange with the client, and a computer readable storage device which is used to store and provide information of the HTTP and enables data exchange between the client and the server end via network. According to the HTTP transmission method in data exchange, the server and the storage device, complex coding and configuration are not needed, and established connection is avoided from loss.

Description

The method of http protocol, server and storage device are transmitted in data exchange
Technical field
The present invention relates to communication technical field, particularly relate to HTTP is transmitted in a kind of data exchange The method of agreement, server and storage device.
Background technology
In a communication environment, user can perform application program, client on the client device of its this locality End equipment can obtain the information relevant to this application program, wherein, remote service from remote server Device end is attached with client device by network.After connection establishment is got up, client device Application program sends a request to server end, and then server end sends this request to data Storehouse, to retrieve the data asked and information.The data retrieved can be returned by server end To client device, client device can display information to user so that user can be with display Information interacts.
In prior art, use remote procedure call protocol (RPC, Remote Procedure Call) To send request from local client to remote server, the data asked with acquisition.But, RPC agreement may relate to the coding of some complexity, thereby increases and it is possible to needs to carry out special at server end Configuration, to generate successful RPC agreement for obtaining data.It addition, when there being a large number of users to apply When RPC agreement is in order to obtain data, some servers may overload;When server overloads, User may lose the connection set up and possibly cannot reconnect, and this can reduce Consumer's Experience, and May interfere with user and obtain data by the application program of client.
Summary of the invention
The technical problem that present invention mainly solves is to provide in a kind of data exchange and transmits http protocol Method, server and storage device, it is possible to need not complicated coding and configuration, and will not lose and build The connection erected.
For solving above-mentioned technical problem, the technical scheme that the present invention uses is: provide one counting According to exchange is transmitted the method for http protocol, described method the equipment of calculating at least some of on hold OK, wherein, described calculating equipment provides the information on HTML (Hypertext Markup Language) http protocol, with In carrying out data exchange between client and server end by network, described method includes: described Received server-side connection request;Described connection is set up by HTTP;Number is received by described connection According to request;Described request of data is responded, sends receipt response;Process described request of data with The data asked are retrieved;After retrieving described asked data, to described client Send final response.
Wherein, the step of described reception request of data, farther include: receive HTTP request.
Wherein, described method farther includes: receive the described HTTP with one or more headers Request, described header comprises the instruction for processing described request of data.
Wherein, described header comprises one or more: type header, request Identity Header, mailbox Identity Header and contents-types header.
Wherein, the operation that described type header performs for indicating described user to be attempt to.
Wherein, described request mark is used for identifying described request is to described server from described client End.
Wherein, described mailbox is designated a parameter, the electricity that described parameter pair is relevant to described client Sub-mail account is identified, and wherein, described client passes through described email account to described clothes Business device end sends data retrieval request.
Wherein, described contents-types header is arranged to application program/eight bit byte stream type.
Wherein, described method farther includes: when processing described request, sends a series of Middle block responds.
Wherein, the step of described transmission described middle block response, farther include: header is comprised In at least one part that described piecemeal responds, wherein, transmission encoded radio is " piecemeal ".
Wherein, described method farther includes: when processing described request of data, with the cycle Property time interval send described middle block response, wherein, described periodical intervals is for set in advance Fixed and configurable.
For solving above-mentioned technical problem, another technical solution used in the present invention is: provide one clothes Business device, described server is for carrying out data exchange with client, and described server includes: memorizer, For storing instruction;Processor, coupled to described memorizer, is used for performing data retrieval application, Wherein, described data retrieval application in order to: receive connection request;Set up described by HTTP Connect;Request of data is received by described connection;Described request of data is responded, sends receipt Response;Process described request so that required data to be retrieved;Send when processing described request A series of middle block respond;After retrieving described data for described client, send final sound Should.
Wherein, described server relates to function services, and described function services provides one or more: electricity Sub-mail applications, social networks application program, collaboration application, enterprise management application, Short message application program, word-processing application, spreadsheet applications, database application journey Sequence, demonstration applications, and Email, contact person and calendar management application program.
Wherein, described request of data is the HTTP request comprising one or more header, described header With the instruction processing described request of data.
Wherein, described header comprises one or more: type header, request Identity Header, mailbox mark Know header and contents-types header.
Wherein, the operation that described type header performs for indicating described client to be attempt to, described It is from described client to described server end, described postal that request Identity Header is used for identifying described request Case is designated a parameter, and the email account that described parameter pair is relevant to described client is marked Knowing, wherein, described client sends data by described email account to described server end and examines Rope is asked, and described contents-types header is arranged to application program/octet stream.
Wherein, the described piecemeal response of described a series of middle block response comprises header, and " to divide Block " as transmission encoded radio.
Wherein, described data retrieval application is further used for: comprise in described final response DONE metatag, in order to indicate and send final response to described client, wherein, described The value of the data that the band from described server end has been asked is followed closely after DONE metatag.
For solving above-mentioned technical problem, another technical scheme that the present invention uses is: provide one meter Calculation machine readable storage device, described computer readable storage devices is used for storing instruction, and described instruction is used In providing the information on http protocol, to be counted between client and server end by network According to exchange, described instruction includes: described received server-side connection request;Institute is set up by HTTP State connection;The request of HTTP POST data is received by described connection;Described request of data is made Response, sends receipt response;Process described request so that the data asked to be retrieved;Processing During described request, send the response of a series of middle block at regular intervals;For described client After end retrieves required data, send final response.
Wherein, described instruction farther includes: comprise DONE metatag in described final response, So that indicating and sending final response and the data asked, wherein, described unit to described client The value of the data that the band from described server has been asked is followed closely after label;Make described server end Extra header, wherein, the described volume in described final response can be returned in described final response Prefix value during one or more middle block are responded by outer header covers.
The invention has the beneficial effects as follows: be different from the situation of prior art, the present invention relates to local visitor The agreement of data is asked and obtained to family end from remote server, specifically, including: described server End receives connection request;Described connection is set up by HTTP;Request of data is received by described connection; Described request of data is responded, sends receipt response;Process described request of data with to being asked Data retrieve;After retrieving described asked data, send final to described client Response.Owing to when the server receives the request, server can send receipt response to client, this Sample, request is processed to indicate that connection is still within setting up state, is asked retrieving by server After the data asked, server can return the final sound comprising the data asked to client Should, in this way, it is possible to need not complicated coding and configuration, and will not lose and set up Connect.
Accompanying drawing explanation
Fig. 1 is the application that the present invention transmits method one embodiment of http protocol in data exchange Scene schematic diagram.
Fig. 2 is the signal that the present invention transmits method one embodiment of http protocol in data exchange Figure.
Fig. 3 is that the information on present invention application http protocol is handed between clients and servers The request of data changed and an embodiment of response.
Fig. 4 is an embodiment of networked environment.
Fig. 5 is the structural representation of computer readable storage devices one embodiment of the present invention.
Fig. 6 is the logical flow chart of an embodiment, and this logical order provides information on http protocol Data exchange is carried out between clients and servers by network.
Detailed description of the invention
The present invention is described in detail with embodiment below in conjunction with the accompanying drawings.
It is method one enforcement that the present invention transmits http protocol in data exchange refering to Fig. 1, Fig. 1 The application scenarios schematic diagram of mode.
As it is shown in figure 1, user can apply multiple different client device to perform application program, with Exchange data also interact with data.Perform on the client device of user is used for entering with data The mutual application program of row can be function services (Productivity Service) 11 and communication service 12. Communication service 12 can be the service providing Email, contact management and calendar service.Logical Telecommunications services 12 can provide real-time communication platform equally, such as instant news in brief, audio/video meeting and presence bit Detection.Such as, user can receive, read and reply the communication on the client device being implemented in user Email in service 12 or other data.Some are for reading mail and obtain other data Client device can include Desktop computing device, personal computer, tablet PC, smart phone and Other similar client devices.
Function services 11 can be configured to provide the service set up around function platform and accesses.One A little function services can include email application, social networks application program, collaboration application, Enterprise management application, news in brief application program, word-processing application, spreadsheet application journey Sequence, database application and demonstration applications.Function services 11 can include communication application program, It with acquisition and exchanges data in order to same communication service collaborative work.
The service that communication service 12 and function services 11 are provided can trustship with communication service 12 and On the relevant external server of function services 11.User can pass through the network 13 native client user Obtain the service provided on end equipment from server 14, wherein, network 13 can be wired or wireless Network, or cloud network.Data between local client devices and server can be entered by network 13 Row exchange, such local client devices needs to set up effectively connection by network with server 14, To obtain the data provided by communication service 12 and function services 11 and to interact with data.
It is method one enforcement that the present invention transmits http protocol in data exchange refering to Fig. 2, Fig. 2 The schematic diagram of mode.
As in figure 2 it is shown, client 21 can perform functional application on the local device or communication should By program 22, such as email application.Client 21 can be by network with server 23 Communication, to obtain the data relevant to communication application program 22, such as e-mail data.
In the system of present embodiment, connection can be set up between client 21 and server 23, Data exchange is carried out with same communication application program 22.Client 21 can be initiated to connect to server 23, And data can be obtained from server 23.Server 23 can accept this request, processes request, And the information asked is returned to client 21.Http protocol is application protocol, can apply Subsidiary communications and data exchange between client 21 and server 23.HTTP definable method or Action, wherein, action can indicate whether by server perform to obtain desired by the information asked Action.Such as, action can include GET action, and it can be the request obtaining data.It is applied to Another example of the action of HTTP can be POST action, and it can make server accept please described in toolization The data asked.
In one embodiment, client 21 can comprise the information in the HTTP request set up Agreement, is beneficial to obtain and communication application program 22 phase of execution client 21 from server 23 The data closed.Information on http protocol 24 can make client 21 be connected to service by HTTP Device 23 is sent request and is responded by identical HTTP connection reception server 23.Client 21 Extra HTTP can be opened with server 23 to connect, with send parallel independence to server 23 please Ask.
In one embodiment, client 21 request can be by request of data language with traditional HTTP POST request language merges, to generate the information on http protocol.On http protocol Information can comprise special header structure, is used for indicating which kind of data is retrieved also by server 23 How to respond to client 21.Described special header structure can include request type header, Request Identity Header, mailbox Identity Header and contents-types header.Request type header can be X-RequestType header, applies this header in order to Tell server 23, and i.e. client 21 is Which kind of attempt to perform operation.Request Identity Header can be X-RequestID header, and it can be by client 21 identify to server 23.Server 23 can not accept the most identified or request of anonymity.Additionally, Mailbox Identity Header can be MailboxID parameter, its specially to email account or with client phase The mailbox closed is identified, and wherein, client 21 sends a request for electronics postal to server 23 Part or other data.And, POST request can comprise contents-types header, and it can be to be set to " answer By program/octet stream " the Content-Type header of type.
The example of the information in http protocol request can be as follows:
The present invention relates to ask and obtain the agreement of data from remote server, specifically at local client For, including: described received server-side connection request;Described connection is set up by HTTP;Logical Cross and described connection receive request of data;Described request of data is responded, sends receipt response;Place Manage described request of data so that the data asked to be retrieved;Retrieving described asked data After, send final response to described client.Owing to when the server receives the request, server can Sending receipt response to client, so, request is processed to indicate that connection is still located by server In setting up state, after retrieving asked data, server can return a bag to client Final response containing the data asked, in this way, it is possible to need not complicated coding and join Put, and the connection set up will not be lost.
It is that the information on present invention application http protocol is at client and server refering to Fig. 3, Fig. 3 Between the request of data that swaps and the embodiment of response.
Client 31 can use standardized HTTP POST request, with from server 32 request with The data that the application program performed in client 31 is relevant.Special request of data language can same HTTP POST language merges, to generate information on http protocol, in order to indicate server 32 right Which kind of data carries out retrieving, retrieving wherefrom and how to respond to client 31.
As it is shown on figure 3, after server 32 receives initial p OST request 33, server 32 A series of response can be returned to client 31.POST request 33 can comprise instruction, at server 32 During POST request 33 is ranked and processed, instruction may indicate that server 32 is to initially POST request 33 responds, and i.e. returns receipt response 34.Receipt response 34 can be to client 31 provide confirmation, i.e. server 32 has been received by described request, is so possible to prevent client 31 Do not know to connect and gone offline, or do not know that request cannot be processed by server 32.If Client 31 does not receives receipt response 34 in rational time limit, then client 31 can Can abandon and/or retry POST request 33.
In one embodiment, server 32 can return when processing POST request 33 Return middle block response 35.The middle block response 35 that server 32 is returned can comprise Transfer-Encoding header, and using " piecemeal " as transmission coded system.Described block transmission Coding can make server 32 during POST request 33 is processed, to client 31 Return intermediate response and data.Middle block response 35 can provide the state of request to client 31, To indicate that all connections between client 31 and server 32 all do not go offline, and server 32 is worked as Before POST request 33 is processed.If client 31 is not in rational time limit Receive intended intermediate response, then client 31 may be abandoned and/or retry POST request 33.Time limit expeced time of transmission intermediate response can be defined by client 31 or server 32, It is alternatively configurable setting.Middle block response 35 also may be used to please to POST at server 32 When asking 33 to process, the HTTP connection keeping basic is active.
The example of the piecemeal http response that server 32 is returned can be:
As it has been described above, after server 32 has processed request, server 32 can return to client 31 Return final response 36.Unit mark DONE in response can indicate whether that finally responding 36 has sent to client End 31.After following DONE unit mark closely, can return with from server 32 to client 31 The X-ResponseCode value of response data.After DONE unit mark in the response, service Device 32 can return extra header in final response 36.Additional headers in final response 36 The header that server 32 had previously been returned in one or more middle block response 35 can be override Value.Such as, additional headers can make server 32 give up follow-up POST request, and to client 31 return different X-ResponseCode values.The response data of server 32 can follow closely arbitrarily After additional headers.And, if returning extra X-ResponseCode, and response data For unsuccessful, then the additional headers after DONE unit identifies, response data will not be had tight With.
It is the embodiment of networked environment refering to Fig. 4, Fig. 4.A kind of letter provided on http protocol Breath, can be by one for being carried out the system of data exchange between clients and servers by network Or perform on multiple server 41 software such as host services implement.Platform can pass through network 42 communicate with the client application on personal computing devices, and personal computing devices can be such as intelligence Energy phone 43, portable computer 44 or desk computer 45 (' client device ').
The client application performed on arbitrary client device 43-45 can be beneficial to same server 41 or personal server 46 on performed application program communicate.Institute on arbitrary described server The application program performed can be beneficial to carry out data exchange by HTTP.Application program can be directly from data Memory block 47 or obtain related data by database server 48, and by client device 43-45 Provide a user with asked service (such as Document Editing).
Network 42 can include between server, client, ISP and telecommunication media Randomly topologically structured.The system being dependent on embodiment can have static state or dynamic topological structure.Net Network 42 can include secure network such as enterprise network, unencryption network such as wireless open network or the Internet. Network 42 also can coordinating communication on other networks, such as PSTN (Public Switched Telephone Network, PSTN) or mobile network.Additionally, network 42 can include short distance Wireless network such as bluetooth or similar network.Network 42 provides between the node described by presents Communication.Such as (unrestricted), network 42 can include wireless medium, such as sound, radio frequency, infrared Line or other wireless medium.
Can computation equipment, application program, other configurations of many of data source and data distribution system, Data exchange is carried out between clients and servers by network to providing information on http protocol Platform implement.Additionally, the networked environment discussed in Fig. 4 is merely for the purpose explained.Real Execute example and be not limited to the examples such as application program, module or process.
It is the structural representation of computer readable storage devices one embodiment of the present invention refering to Fig. 5, Fig. 5 Figure.Computer readable storage devices 50 can be that any computer-readable storage performing application program sets Standby, wherein, application program is used for providing information on http protocol to pass through network in client and service Data exchange is carried out between device.Further, computer readable storage devices 50 includes that at least one processes Unit 51 and system storage 52.Computer readable storage devices 50 can include that multiple cooperation performs The processing unit of program.Depending on exact configuration and the type of computer readable storage devices, system is deposited Reservoir 52 can be (such as the random access memory) of volatibility, non-volatile (such as read-only storage Device, flash memory etc.) or a combination of both.System storage 52 generally includes for controlling platform operation Operating system 53.System storage 52 may also comprise one or more software application such as function Application program 54 and communication application program module 55.
Functional application 54 can be to provide the application program of multiple service, such as e-mail applications Program, social networks application program, collaboration application, enterprise management application, news in brief are applied Program, word-processing application, spreadsheet applications, database application and demonstration should Use program.Communication application program module 55, as a part for functional application 54, can make user Obtain the data being stored on remote server and interact with data, such as Email, contact People and calendar data.By communication application program module 55, functional application 54 can apply HTTP In agreement, information is from remote server request data.On http protocol, information can provide instruction to remotely Which kind of data is i.e. retrieved and is retrieved wherefrom by server, it is possible to instruction remote server sends back Hold the piecemeal response of response and a series of state specifying the request of process.Functional application 54 He Communication application program module 55 can be independent application program or integrated in hosting service Module.
Computer readable storage devices 50 can have extra feature or function.Such as, computer can Read storage device 50 and can include extra data storage device (detachable and/or non-dismountable) such as, Disk, CD or tape.Such extra memory is in Figure 5 by detachable memory 56 He Non-dismountable memorizer 57 discloses.Computer readable storage medium can include for storing information The volatibility run by any way and can not volatibility, removable and non-removable matchmaker It is situated between, such as computer-readable instruction, data structure, program module or other data.System storage 52, the institute that detachable memory 56 and non-dismountable memorizer 57 are computer readable storage medium There is example.Computer readable storage medium includes but not limited to, random access memory, read-only storage Device, electricity erasable memorizer, flash memory or other memory technology, CD-ROM driver, digitized General optic disc or other optical memory, tape, disk memory or other magnetic storage apparatus, or Other any energy are used for storing asked information and being accessed by computer readable storage devices 50 Medium.Any this computer readable storage medium can be of computer readable storage devices 50 Point.Computer readable storage devices 50 also can have input equipment 58 such as keyboard, mouse, writing pencil, Voice-input device, touch input device, and other similar input equipments.Outut device 59 Such as display, speaker, printer, it is possible to include other kinds of outut device.These equipment are all It is equipment well known in the art, because of without being discussed at length here.
Computer readable storage devices 50 also can comprise communication connection 510, and communication connection 510 can make Calculating equipment communicates with other equipment 511, as by the wired or nothing in distributed computing environment Gauze network, satellite link, mobile link, short range network communicate, and comparable mechanism. Other equipment 511 can include performing communication application program, the webserver and the computer than equipment Equipment.Communication connection 510 is an example of telecommunication media.Telecommunication media can include computer-readable Instruction, data structure, program module or other data.Such as (unrestricted), telecommunication media includes Cable medium such as cable network or directly wired connection, and wireless medium such as sound, radio frequency, infrared Line and other wireless medium.
Being the logical flow chart of the present invention refering to Fig. 6, Fig. 6, wherein, this logical order provides HTTP In agreement, information carries out data exchange between clients and servers by network.This logical order can The electronic equipment of instruction or is performed in computer readable storage devices at similar Tong Guo processor Upper enforcement.
Step S101: set up connection between clients and servers.Client can be function services And communication service, these services can obtain information and data, such as cloud by network from remote server Network.
Step S102: server receives POST request from client, with start on the server into Row data retrieval.POST request can be information on http protocol, and it can comprise with for data The special header of instruction of retrieval, described header include request type header, request Identity Header, Mailbox Identity Header and contents-types header.
Step S103: server sends receipt response to client after receiving POST request.
Step S104: server, when processing request, sends middle block to client and rings Should.Middle block response can indicate the state of request of data to client, and can maintain client kimonos Connection between business device.Piecemeal response can periodically send, and this is the most set in advance and configurable.
Step S105: server: send DONE response to client, retrieved institute to indicate The data of request, and data can be by connecting offer to client.
Received server-side connection request of the present invention;Described connection is set up by HTTP;Pass through Described connection receives request of data;Described request of data is responded, sends receipt response;Process Described request of data is to retrieve the data asked;Retrieving described asked data After, send final response to described client.Owing to when the server receives the request, server can Sending receipt response to client, so, request is processed to indicate that connection is still located by server In setting up state, after retrieving asked data, server can return a bag to client Final response containing the data asked, in this way, it is possible to need not complicated coding and join Put, and the connection set up will not be lost.
The foregoing is only embodiments of the present invention, not thereby limit the scope of the claims of the present invention, Every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion, or directly Connect or be indirectly used in other relevant technical fields, be the most in like manner included in the patent protection model of the present invention In enclosing.

Claims (20)

1. the method transmitting http protocol in data exchange, described method is at the equipment of calculating At least some of upper perform, wherein, described calculating equipment provides HTML (Hypertext Markup Language) HTTP Information in agreement, carries out data exchange for by network between client and server end, It is characterized in that, described method includes:
Described received server-side connection request;
Described connection is set up by HTTP;
Request of data is received by described connection;
Described request of data is responded, sends receipt response;
Process described request of data so that the data asked to be retrieved;
After retrieving described asked data, send final response to described client.
2. the method for claim 1, it is characterised in that the step of described reception request of data Suddenly, farther include:
Receive HTTP request.
3. method as claimed in claim 2, it is characterised in that described method farther includes:
Receiving the described HTTP request with one or more headers, described header comprises for processing The instruction of described request of data.
4. method as claimed in claim 3, it is characterised in that described header comprises or many Individual: type header, request Identity Header, mailbox Identity Header and contents-types header.
5. method as claimed in claim 4, it is characterised in that described type header is used for indicating Described user is attempt to the operation performed.
6. method as claimed in claim 4, it is characterised in that described request mark is used for identifying Described request is to described server end from described client.
7. method as claimed in claim 4, it is characterised in that described mailbox is designated a ginseng Number, the email account that described parameter pair is relevant to described client is identified, wherein, described Client sends data retrieval request by described email account to described server end.
8. method as claimed in claim 4, it is characterised in that described contents-types header is set It is set to application program/eight bit byte stream type.
9. the method for claim 1, it is characterised in that described method farther includes:
When described request is processed, send the response of a series of middle block.
10. method as claimed in claim 9, it is characterised in that the described middle block of described transmission The step of response, farther includes:
Being contained in by header at least one part of described piecemeal response, wherein, transmission encoded radio is " piecemeal ".
11. methods as claimed in claim 10, it is characterised in that described method farther includes:
When described request of data is processed, send described middle block with periodical intervals Response, wherein, described periodical intervals is set in advance and configurable.
12. 1 kinds of servers, described server is for carrying out data exchange with client, and its feature exists In, described server includes:
Memorizer, is used for storing instruction;
Processor, coupled to described memorizer, is used for performing data retrieval application, wherein, and institute State data retrieval application in order to:
Receive connection request;
Described connection is set up by HTTP;
Request of data is received by described connection;
Described request of data is responded, sends receipt response;
Process described request so that required data to be retrieved;
The response of a series of middle block is sent when processing described request;
After retrieving described data for described client, send final response.
13. servers as claimed in claim 12, it is characterised in that described server relates to merit Can service, described function services provides one or more: email application, social networks should With program, collaboration application, enterprise management application, short message application program, word processing Application program, spreadsheet applications, database application, demonstration applications, Yi Ji electricity Sub-mail, contact person and calendar management application program.
14. servers as claimed in claim 12, it is characterised in that described request of data is bag Containing the HTTP request of one or more headers, described header is with the finger processing described request of data Order.
15. servers as claimed in claim 14, it is characterised in that described header comprises one Or multiple: type header, request Identity Header, mailbox Identity Header and contents-types header.
16. servers as claimed in claim 15, it is characterised in that described type header is used for Indicating that described client is attempt to the operation performed, described request Identity Header is used for identifying described asking Seeking Truth is from described client to described server end, and described mailbox is designated a parameter, described parameter Being identified the email account relevant to described client, wherein, described client passes through institute State email account and send data retrieval request, and described contents-types header to described server end It is arranged to application program/octet stream.
17. servers as claimed in claim 12, it is characterised in that described a series of centres are divided The described piecemeal response of block response comprises header, and using " piecemeal " as transmission encoded radio.
18. servers as claimed in claim 12, it is characterised in that described data retrieval is applied Program is further used for:
DONE metatag is comprised, in order to indicate to described client in described final response Send final response, wherein, follow closely from described server end after described DONE metatag The value of the data that band has been asked.
19. 1 kinds of computer readable storage devices, described computer readable storage devices refers to for storage Order, described instruction for providing the information on http protocol, with by network in client and service Data exchange is carried out, it is characterised in that described instruction includes between device end:
Described received server-side connection request;
Described connection is set up by HTTP;
The request of HTTP POST data is received by described connection;
Described request of data is responded, sends receipt response;
Process described request so that the data asked to be retrieved;
When processing described request, send the response of a series of middle block at regular intervals;
After retrieving required data for described client, send final response.
20. computer readable storage devices as claimed in claim 19, it is characterised in that described Instruction farther includes:
Described final response comprises DONE metatag, in order to indicate and send out to described client Send final response and the data asked, wherein, follow closely from described server after described metatag The value of data asked of band;
Described server end is enable to return extra header in described final response, wherein, described Prefix value during one or more middle block are responded by the described additional headers in final response is carried out Cover.
CN201510119975.0A 2015-03-18 2015-03-18 HTTP transmission method in data exchange, server and storage device Withdrawn CN106034157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510119975.0A CN106034157A (en) 2015-03-18 2015-03-18 HTTP transmission method in data exchange, server and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510119975.0A CN106034157A (en) 2015-03-18 2015-03-18 HTTP transmission method in data exchange, server and storage device

Publications (1)

Publication Number Publication Date
CN106034157A true CN106034157A (en) 2016-10-19

Family

ID=57148735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510119975.0A Withdrawn CN106034157A (en) 2015-03-18 2015-03-18 HTTP transmission method in data exchange, server and storage device

Country Status (1)

Country Link
CN (1) CN106034157A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581934A (en) * 2019-09-30 2021-03-30 北京声智科技有限公司 Voice synthesis method, device and system
CN112615822A (en) * 2020-12-03 2021-04-06 北京皮尔布莱尼软件有限公司 Message processing method and device, computing equipment and readable storage medium
CN115086429A (en) * 2022-05-16 2022-09-20 鼎捷软件股份有限公司 Request integration system and request integration method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175089A (en) * 2007-06-11 2008-05-07 七天酒店(深圳)有限公司 Data transmission method between server and client terminal based on HTTP protocol and .NET structure
CN102804687A (en) * 2009-06-22 2012-11-28 微软公司 Using Hypertext Transfer Protocol As A Transport For Bi-directional Data Streams
US20150039676A1 (en) * 2013-07-31 2015-02-05 Microsoft Corporation Messaging api over http protocol to establish context for data exchange

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175089A (en) * 2007-06-11 2008-05-07 七天酒店(深圳)有限公司 Data transmission method between server and client terminal based on HTTP protocol and .NET structure
CN102804687A (en) * 2009-06-22 2012-11-28 微软公司 Using Hypertext Transfer Protocol As A Transport For Bi-directional Data Streams
US20150039676A1 (en) * 2013-07-31 2015-02-05 Microsoft Corporation Messaging api over http protocol to establish context for data exchange

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581934A (en) * 2019-09-30 2021-03-30 北京声智科技有限公司 Voice synthesis method, device and system
CN112615822A (en) * 2020-12-03 2021-04-06 北京皮尔布莱尼软件有限公司 Message processing method and device, computing equipment and readable storage medium
CN115086429A (en) * 2022-05-16 2022-09-20 鼎捷软件股份有限公司 Request integration system and request integration method
CN115086429B (en) * 2022-05-16 2024-02-13 鼎捷软件股份有限公司 Request integration system and request integration method

Similar Documents

Publication Publication Date Title
US11582349B2 (en) System and method for associating audio clips with objects
CN104335523B (en) A kind of authority control method, client and server
CN105531979B (en) It is a kind of for exchanging the method and server of data between a client and a server
CN102655481B (en) A kind of instant messaging chat content inspection method based on webpage and system
CN101447949B (en) Information interaction method and device based on instant messaging system
CN104125240A (en) Information external network, information internal network, and system and method for data interaction between internal network and external network
CN103763443B (en) The mobile customer service system of a kind of many communication modes polymerization and method
CN103346957A (en) System and method for changing head portrait expression of contact person according to messages of contact person
WO2012000228A1 (en) Method for group communication implemented on common web page
WO2015017482A1 (en) Messaging over http protocol for data exchange
CN107294832B (en) Method and device for adding friends
CN106789593B (en) A kind of instant message processing method, server and system merging sign language
WO2017016084A1 (en) Alarm information notification method and apparatus, and alarm information filtering device
CN106034157A (en) HTTP transmission method in data exchange, server and storage device
CN103685485A (en) Mobile terminal VoIP (voice over internet protocol) communication audio management system
CN106998386B (en) Method and device for adding contact way and user terminal
CN106533718A (en) Data processing method and device
CN102469040A (en) Questioning and answering system based on instant massager
US20140287787A1 (en) Connection System and Method to Dynamically Create and Collect a Group of Contextual Contacts
CN108964941A (en) A kind of method and system for establishing interim conversation
CN105049474B (en) Novel personal private information sharing system and method
CN106973110A (en) Network real estate sales platform system with instant communication function
CN105847335B (en) A kind of data processing method and server
Salami et al. Towards a machine learning enabled multi-channel messaging framework for financial service institutions: Preliminary investigations
CN108989343A (en) The change of VOIP network and compatible processing method, system, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20161019

WW01 Invention patent application withdrawn after publication