Web server based communication method and system

A communication method and server technology, applied in the field of communication and computer, can solve the problems of difficult implementation, limited communication ports between the client and the server, and high cost between the client and the server, and achieve easy implementation, good scalability and readability, low cost effect

Active Publication Date: 2007-09-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] The present invention provides a communication method and system based on a Web server, so as to solve the problem in the prior art that the client and the server are limited by the communication port when using sock

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
  • Web server based communication method and system
  • Web server based communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Referring to the communication system shown in Figure 1, the communication system includes a client, a Web server, an interface program module and a service server. In this embodiment, the client is a software module (software system) that can remotely access the Web server; the Web server is a software module that can receive and respond to HTTP requests; the interface program module is included in the Web server and can be accessed by The application program invoked by the Web server; the business server is a software module that completes business logic and can be composed of multiple program modules. The interface program module is an application program, which can be CGI, PHP or ASP. Since the CGI application program can be coded in C or C++ language, it is superior to PHP and ASP in terms of execution speed, efficiency and controllability, so CGI is a better way to do the interface program.

[0042] A socket SOCKET connection is established between the client and...

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 discloses a communication method based on Web server, so as to solve the problem in present technology that the communication port is limited when the SLCKET communicating between the client-side and server, the method comprises: the client packs data into HTTP package to send to the Web server through the SOCKET, the latter analyzes the HTTP data package and calls appointed interface program, and the interface program connects with the business server for communication. The invention also discloses a communication system at the same time.

Description

technical field [0001] The present invention relates to communication and computer technology, in particular to a communication method and system based on a Web server. Background technique [0002] Currently, sockets (SOCKET) are generally used for network communication between clients and servers. Using the SOCKET communication method, the transmission speed is generally fast and stable. However, in many network environments, especially intranets, network firewalls are set up, and only basic ports are allowed, such as port 80 for web browsing. Other ports are not allowed, such as instant The chat port for communication is 8000. In this case, the transmission control protocol (TCP) or user datagram protocol (UDP) cannot be used to directly connect to the server, so the method of direct SOCKET connection between the client and the server has some limitations. [0003] In order to break through this limitation, the following two methods can be adopted in the prior art: [0...

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
IPC IPC(8): H04L29/06
Inventor 程才
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products