Check patentability & draft patents in minutes with Patsnap Eureka AI!

HTTP communication method based on extension status codes

A communication method and state-extension technology, applied in the field of network communication, to achieve the effect of improving transmission efficiency and avoiding data overhead

Active Publication Date: 2016-08-17
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a kind of HTTP communication method based on extended status code, to solve the problem that the HTTP communication method based on status code has unnecessary data overhead under specific circumstances

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • HTTP communication method based on extension status codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the specific implementation manners of the present invention will be clearly and completely described below.

[0020] figure 1 It is a flow chart of the HTTP communication method based on the extended status code provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the method includes step S1 to step S4, each step will be described in detail below.

[0021] Step S1: the client sends an HTTP request message to the server.

[0022] In step S1, the client establishes a communication connection with the server, and the client sends an HTTP request message to the server.

[0023] Step S2: The server returns response information.

[0024] In step S2, after receiving the HTTP request message sent by the client, the server performs business processing according to the HTTP request to obtain business data, and returns a response message to the client. If...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of network communication, provides an HTTP communication method based on extension status codes and aims at solving the problem of unnecessary data overhead existing under certain conditions of an existing HTTP communication method based on status codes. The HTTP communication method comprises the steps that a client-side sends an HTTP request information to a server; the server returns response information; the client-side obtains the definition of the HTTP extension status codes of the server; the client-side receives response information sent by the server. The technical scheme proposed by the invention adopts the HTTP extension status codes to achieve error prompting, the unnecessary data overhead is avoided, and the transmission efficiency is improved.

Description

technical field [0001] The invention belongs to the field of network communication, in particular to an HTTP communication method based on extended status codes. Background technique [0002] HTTP (Hyper Text Transfer Protocol) is the abbreviation of Hypertext Transfer Protocol, which is used to transmit WWW data. The HTTP protocol adopts a request / response model. The client sends a request to the server. The request header includes the request method, URI, protocol version, and a MIME-like message structure including request modifiers, client information, and content. The server responds with a status line containing the message protocol version, success or error code plus server information, entity meta information, and possibly entity content. [0003] In the communication data of the mobile terminal, a data structure is often used to encapsulate the returned response data and status code. In actual use, the data should be divided into two parts: valid status code and va...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/02H04L69/329
Inventor 魏劲超江涛
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More