CN107508781A - Exchange method, system and server architecture based on Web proxy server - Google Patents

Exchange method, system and server architecture based on Web proxy server Download PDF

Info

Publication number
CN107508781A
CN107508781A CN201610414408.2A CN201610414408A CN107508781A CN 107508781 A CN107508781 A CN 107508781A CN 201610414408 A CN201610414408 A CN 201610414408A CN 107508781 A CN107508781 A CN 107508781A
Authority
CN
China
Prior art keywords
server
response
message
serializing
solicited message
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
Application number
CN201610414408.2A
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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
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 Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201610414408.2A priority Critical patent/CN107508781A/en
Publication of CN107508781A publication Critical patent/CN107508781A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to communication technique field, and in particular to a kind of exchange method based on Web proxy server, system and server architecture.In the exchange method based on Web proxy server, the operation that Web proxy server performs includes:Receive the solicited message of Web server;Solicited message is encrypted and serialized;Give the request message transmission of serializing to corresponding service server;Receive the response message of the serializing of service server;The response message of serializing is decrypted and unserializing;According to response address information, response message is transferred to the Web server.The present invention can reduce IP address and the port that Web server needs to pay close attention to, and reduce the operating cost of Web server, improve message transmission rate.The information transfer that embodiments of the invention can be used between Web server, Web proxy server and service server.

Description

Exchange method, system and server architecture based on Web proxy server
Technical field
The invention belongs to communication technique field, and in particular to a kind of exchange method based on Web proxy server, system and server architecture.
Background technology
At present, network entertainment software emerges in an endless stream, and it makes player experience different cultural lives.Network entertainment software needs different functional module compositions, and in order to improve the Experience Degree of user, many network entertainment software suppliers are provided with different service servers, with the different functions of supporting network entertainment software.Such as:Chat with friends in software, typically just there are the service servers such as subscription access server, gatekeeper's server, chatroom management server.
When user uses network entertainment software, generally by terminal relevant information is initiated to Web server, Web server interacts further through with related service server, send information to related service server, the information that service server is sent according to user responds, and response message is sent to Web server, terminal is sent to by Web server.
Web server can be realized with interacting for service server by script extension, such as Web server and C++ servers(With the system program of C Plus Plus editor)PHP can be passed through(Hypertext PreprocessorC, HyperText Preprocessor)Extension is realized.Web server needs to call the expansion interface of service server to realize the interactive correspondence of data.For different service servers, Web server, which needs to pay close attention to the IP address of each service server and port, could realize communication, and this virtually adds the coupling of Web server and service server.Function with network entertainment software increases, and the quantity of service server is also increasing, and Web server needs the IP address paid close attention to and port also to increase therewith, which increase the maintenance complexity of Web server, also improves the operating cost of Web server.
The content of the invention
In order to solve the above-mentioned technical problem, the present invention provides a kind of exchange method based on Web proxy server, system and server architecture, to reduce IP address and the port that Web server needs are paid close attention to, reduces the operating cost of Web server, improves message transmission rate.
The present invention adopts the following technical scheme that:
On the one hand, the present invention provides a kind of exchange method based on Web proxy server, and the operation that the Web proxy server performs includes:
The solicited message of Web server is received, the solicited message includes request address information and required parameter information;
The solicited message is encrypted and serialized, the solicited message serialized;
According to the request address information, the request message transmission of the serializing is given to corresponding service server;
The response message that the service server responds the serializing that the solicited message is made is received, the response message of the serializing includes response address information and response parameter information;
The response message of the serializing is decrypted and unserializing, meet with a response information;
According to the response address information, the response message is transferred to the Web server.
Preferably, the request message transmission by the serializing gives corresponding service server, be by by the request message transmission of the serializing to interface server, after the interface server is handled the solicited message of the serializing, the information transfer after processing is given to corresponding service server further according to the request address information;The processing that the interface server is carried out to the solicited message of the serializing includes:
The solicited message of the serializing is received, the solicited message of the serializing includes request address information and required parameter information;
Unserializing is carried out to the solicited message of the serializing, and decrypts and obtains solicited message;
According to the request address information, the solicited message is sent to corresponding service server.
Further, the described solicited message is sent to before corresponding service server includes:The interface server creates TCP with corresponding service server and is connected.
It is preferred that after the solicited message is sent into corresponding service server, including:
Receive the service server and respond the response message that the solicited message is made, the response message includes response address information and response parameter information;
The response message is encrypted and serialized, the response message serialized;
According to the response address information, the response message of the serializing is sent to the Web proxy server.
Generally, the service server includes any one or more in subscription access server, gatekeeper's server, chatroom management server, wealth server, content processing server and notice server.
On the other hand, the present invention also provides a kind of interactive system based on Web proxy server, and the Web proxy server includes:
Receiving module, for receiving the solicited message of Web server, the solicited message includes request address information and required parameter information;
Serialization module, for the solicited message to be encrypted and serialize, the solicited message serialized;
Transport module, for according to the request address information, giving the request message transmission of the serializing to corresponding service server;
The receiving module, it is additionally operable to receive the response message that the service server responds the serializing that the solicited message is made, the response message includes response address information and response parameter information;
Unserializing module, for the response message of the serializing being decrypted and unserializing, meet with a response information;
The transport module, is additionally operable to according to response address information, and the response message is transferred into the Web server.
Preferably, the transport module, the request message transmission by the serializing is additionally operable to interface server;The interface server includes:
Module is collected, for receiving the solicited message of the serializing, the solicited message of the serializing includes request address information and required parameter information;
Deciphering module, for carrying out unserializing to the solicited message of the serializing, and decrypt and obtain solicited message;
Sending module, for according to the request address information, the solicited message to be sent into corresponding service server.
Further, the interface server also includes:Creation module, for before the solicited message is sent into corresponding service server, the interface server to create TCP with corresponding service server and is connected.
It is preferred that described collect module, it is additionally operable to after the solicited message is sent into corresponding service server, receives the service server and respond the response message that the solicited message is made, the response message includes response address information and response parameter information;
Encrypting module, for the response message to be encrypted and serialize, the response message serialized;
The sending module, it is additionally operable to, according to the response address information, the response message of the serializing is sent into the Web proxy server.
The present invention also provides a kind of server architecture, it includes Web server, the Web server is connected by Web proxy server interface with Web proxy server, the Web proxy server is connected by interface server interface with interface server, and the interface server is connected by service server interface with service server.
The exchange method based on Web proxy server of the present invention, the solicited message of all Web servers and the response message of corresponding service server are accepted by Web proxy server, and information is encrypted, serializing, decryption, the processing such as unserializing, both the privacy of data had been ensure that, largely reduce the associative operation of Web server again, i.e. Web server does not have to the IP address and port information for paying close attention to all service servers, it is encrypted without to related data, the operation such as decryption, reduce the maintenance cost of Web server, also improve message transmission rate.
Brief description of the drawings
Fig. 1 is the flow chart of the exchange method based on Web proxy server in one embodiment of the present invention.
Fig. 2 is the partial process view of the exchange method based on Web proxy server in another preferred embodiment of the present invention.
Fig. 3 is the partial process view of the exchange method based on Web proxy server in another preferred embodiment of the present invention.
Fig. 4 is the structure chart of the interactive system based on Web proxy server in one embodiment of the present invention.
Fig. 5 is the part-structure figure of the interactive system based on Web proxy server in another preferred embodiment of the present invention.
Fig. 6 is the part-structure figure of the interactive system based on Web proxy server in another preferred embodiment of the present invention.
Fig. 7 is the structure chart of the server architecture in another preferred embodiment of the present invention.
Embodiment
In order to clearly understand technical scheme, the present invention is described in detail below in conjunction with the accompanying drawings.Embodiments of the invention have the function that it is exemplary, those skilled in the art made on the basis of the embodiment of the present invention without substantial improvement, should all belong to protection scope of the present invention.
Exchange method based on Web proxy server as shown in Figure 1, the operation that the Web proxy server performs include:
S101:The solicited message of Web server is received, the solicited message includes request address information and required parameter information.
Usual user initiates access information by terminal device, conduct interviews Web server, Web server needs to judge the address of user access information, if it is judged that reference address information be Web proxy server IP address, then Web server generates solicited message, and the solicited message is issued to the corresponding port of Web proxy server.Therefore, Web server need to only pay close attention to the IP address and port numbers of Web proxy server, and without paying close attention to the IP address and port numbers of each service server.
The request address information generally includes the IP address of Web proxy server, port numbers of Web proxy server etc..In addition, can also include some required parameter information in solicited message, the required parameter information can be set according to rule set in advance, such as:The rule can make an appointment one or more corresponding informance, and arrange the relation of corresponding informance and required parameter information, be specifically as follows:Corresponding informance can be the corresponding userID and password pre-established, and required parameter information can be parameter userID and password, and parameter userID and password are compared with corresponding informance, if correctly, corresponding service server can allow end user logs;Corresponding informance can also be a series of wealth values, and when required parameter information is identical with some wealth value, then corresponding service server can return to the wealth value and issue terminal user.
S102:The solicited message is encrypted and serialized, the solicited message serialized.
After Web proxy server receives solicited message, in order to increase the security of data, it is necessary to which solicited message is encrypted, so that data form private data.Encryption, can be according to rule set in advance, original solicited message is handled, to cause subsequent reads to take during the information, it is necessary to could be read according to the rule.The rule of the rule set in advance, typically designer oneself setting, the usual not external disclosure of the rule.Or encryption can also be that the solicited message is encrypted using known algorithm, it is necessary to using association key during subsequently to need to read relevant information.Used algorithm can be DES (Data Encryption Standard) algorithm or RSA (Rivest-Shamir-Adleman) algorithm.
The serializing, it is that solicited message is changed into binary code, in order to be stored and transmitted to information.It the encryption and serializing, can simultaneously carry out, can also separate and carry out.If solicited message includes multiple packets, packing processing can be carried out when being encrypted and serializing.
S103:According to the request address information, the request message transmission of the serializing is given to corresponding service server.
The address information can include the IP address of service server.The solicited message of the serializing is passed to corresponding service server by Web proxy server according to the IP address of service server.The solicited message of the serializing is the information after being encrypted, and is private data, and the solicited message of serializing is sent to the process of related service server by Web proxy server, can avoid the leakage of data message, has ensured the security of information exchanging process.
S104:The response message that the service server responds the serializing that the solicited message is made is received, the response message of the serializing includes response address information and response parameter information.
After the solicited message of the serializing is passed to corresponding service server by Web proxy server, the service server is by the processing such as unserializing, decryption, extract the request content of solicited message, according to required parameter information and rule set in advance, the service server makes corresponding response message, and by the response message is encrypted, serializing, issues Web proxy server after packing.
The response address information includes IP address of Web proxy server etc.;The response parameter information can be set according to rule set in advance, such as:The rule can make an appointment one or more corresponding informance, and arrange response parameter information corresponding with each corresponding informance, while arrange the relation of corresponding informance and required parameter information, be specifically as follows:Corresponding informance can be the corresponding userID and password pre-established, required parameter information can be parameter userID and password, parameter userID and password are compared with corresponding informance, it is if correct, then corresponding service server is according to the rule made an appointment, correct response parameter information X can be obtained, the correct response parameter information X is transferred to terminal user by Web proxy server, Web server, end user logs can be allowed;Parameter userID and password are compared with corresponding informance, if mistake, then corresponding service server is according to the rule made an appointment, the response parameter information Y of mistake can be obtained, the wrong response parameter information Y is transferred to terminal user by Web proxy server, Web server, end user logs can not be allowed.
For another example:In the rule made an appointment, corresponding informance can also be a series of wealth values, when required parameter information is identical with some wealth value, corresponding service server is according to the rule made an appointment, numerical value corresponding to the wealth value can be obtained, numerical value corresponding to the wealth value is transferred to terminal user as response parameter information by Web proxy server, Web server, so as to so that the terminal user obtains corresponding wealth value.
S105:The response message of the serializing is decrypted and unserializing, meet with a response information.
After Web proxy server receives the response message of the serializing, met with a response information by decryption, unserializing.That is the step such as decryption, antitone sequence is carried out on Web proxy server, and the information that Web server need not be sent to each service server is decrypted and unserializing, further reduces the operation of Web server.
S106:According to the response address information, the response message is transferred to the Web server.
Web proxy server meets with a response after information, the response address information in response message, the response message is transferred into Web server, the response message is sent to terminal device by Web server according to response address information.
The exchange method based on Web proxy server of the embodiment of the present invention, the solicited message of all Web servers and the response message of corresponding service server are accepted by Web proxy server, and information is encrypted, serializing, decryption, the processing such as unserializing, both the privacy of data had been ensure that, largely reduce the associative operation of Web server again, i.e. Web server does not have to the IP address and port information for paying close attention to all service servers, it is encrypted without to related data, the operation such as decryption, reduce the maintenance cost of Web server, also improve message transmission rate.
Based on the embodiment shown in Fig. 1, exchange method based on Web proxy server as shown in Figure 2, the request message transmission by the serializing gives corresponding service server, be by by the request message transmission of the serializing to interface server, after the interface server is handled the solicited message of the serializing, the information transfer after processing is given to corresponding service server further according to the request address information;The processing that the interface server is carried out to the solicited message of the serializing includes:
S1031:The solicited message of the serializing is received, the solicited message of the serializing includes request address information and required parameter information.
The request address information, the IP address of interface server is generally included, according to the IP address of interface server, the solicited message of the serializing is sent to interface server by Web proxy server.Interface server can be connected by the interface server interface on Web proxy server with the Web proxy server.
S1032:Unserializing is carried out to the solicited message of the serializing, and decrypts and obtains solicited message.
After interface server receives the solicited message of serializing, the processing such as unserializing, decryption is carried out to the solicited message of the serializing, and obtain solicited message.
S1033:According to the request address information, the solicited message is sent to corresponding service server.
The request address information generally includes the IP address of service server, and the solicited message is sent to corresponding service server by interface server according to the IP address of service server.
In the embodiment of the present invention, the setting of interface server can be such that service server is encapsulated in after interface server, all service servers are all to pass through interface server with interacting for Web proxy server, improve the security of service server, because service server such as need not decrypt at the operation, the processing speed of service server is also improved.
Generally, the described solicited message is sent to before corresponding service server includes:The interface server creates TCP with corresponding service server(Transmission Control Protocol transmission control protocols)Connection.
When interface server is with the interaction for the first time of corresponding service server, interface server can create a TCP connection, can be the connection of TCP length or the short connections of TCP, can set as the case may be.Simultaneously, connection session information and the binding of end user IP addresses information are stored in interface server, when being easy to the user has request of data next time, it is sent directly to corresponding service server, TCP connections are just disconnected when terminal user exits use, when disconnecting TCP connections, interface server removes the IP information of the user.
Based on the embodiment shown in Fig. 2, the exchange method based on Web proxy server as shown in Figure 3, after the solicited message is sent into corresponding service server, including:
S1034:Receive the service server and respond the response message that the solicited message is made, the response message includes response address information and response parameter information.
After the solicited message is passed to corresponding service server by interface server, the service server extracts the request content of solicited message, according to required parameter information and rule set in advance, the service server makes corresponding response message, and the response message is issued into interface server.The response address information includes the IP address of the reception server.The response parameter information is set according to the set in advance rule identical or different with required parameter information, such as:The rule can make an appointment one or more corresponding informance, and arrange the relation of corresponding informance and required parameter information, be specifically as follows:Corresponding informance can be the corresponding userID and password pre-established, required parameter information can be parameter userID and password, parameter userID and password are compared with corresponding informance, it is if correct, then corresponding service server can allow end user logs, the response parameter information then made can be some numerical value or some symbol, to show to allow end user logs;Corresponding informance can also be a series of wealth values, when required parameter information is identical with some wealth value, then corresponding service server can return to the wealth value and issue terminal user, the response parameter information made can be some numerical value or some symbol, to show to give the wealth value of terminal user.
S1035:The response message is encrypted and serialized, the response message serialized.
After interface server receives response message, in order to increase the security of data, it is necessary to which response message is encrypted, so that data form private data.Encryption, can be according to rule set in advance, original response message is handled, to cause subsequent reads to take during the information, it is necessary to could be read according to the rule.Or encryption can also be that the solicited message is encrypted using known algorithm, it is necessary to using association key during subsequently to need to read relevant information.Used algorithm can be DES (Data Encryption Standard) algorithm or RSA (Rivest-Shamir-Adleman) algorithm.
It the encryption and serializing, can simultaneously carry out, can also separate and carry out.If response message includes multiple packets, packing processing can be carried out when being encrypted and serializing.
S1036:According to the response address information, the response message of the serializing is sent to the Web proxy server.
The response address information includes IP address, the IP address of Web server and IP address of terminal user of Web proxy server etc..After interface server receives response message, response address information in response message, the response message is transferred to Web proxy server, after Web proxy server receives the response message of the serializing, the response message of the serializing is decrypted and unserializing, meet with a response information;Then, the response message is sent to Web server, the response message is sent to terminal device by Web server according to response address information by Web proxy server according to response address information.
Generally, the service server can include subscription access server(Entry Server, abbreviation ES), the server is for providing user login services;Gatekeeper's server(Gatekeeper Server, abbreviation GKS), the server is for providing gatekeeper's service;Chatroom management server(Chatroom Server, abbreviation CMS), the server is for providing chatroom management service;Wealth server(Wealth Server, abbreviation WLS), the server is for providing user's Wealth management service;Content processing server(Content Process Server, abbreviation CPS), the server is for providing contents processing service;Notify server(Notification Server, abbreviation NS), the server is for providing content notice service.Certainly, one or more servers therein can be included according to different needs, service server, the service server required for other can also be included.
The present invention is that example also provides the interactive system as shown in Figure 4 based on Web proxy server, and the Web proxy server includes:
Receiving module, for receiving the solicited message of Web server, the solicited message includes request address information and required parameter information;
Serialization module, for the solicited message to be encrypted and serialize, the solicited message serialized;
Transport module, for according to the request address information, giving the request message transmission of the serializing to corresponding service server;
The receiving module, it is additionally operable to receive the response message that the service server responds the serializing that the solicited message is made, the response message includes response address information and response parameter information;
Unserializing module, for the response message of the serializing being decrypted and unserializing, meet with a response information;
The transport module, is additionally operable to according to response address information, and the response message is transferred into the Web server.
Based on the embodiment shown in Fig. 4, the interactive system based on Web proxy server as shown in Figure 5, the transport module, the request message transmission by the serializing is additionally operable to interface server;The interface server includes:
Module is collected, for receiving the solicited message of the serializing, the solicited message of the serializing includes request address information and required parameter information;
Deciphering module, for carrying out unserializing to the solicited message of the serializing, and decrypt and obtain solicited message;
Sending module, for according to the request address information, the solicited message to be sent into corresponding service server.
Typically, in the interactive system based on Web proxy server, the interface server also includes:Creation module, for before the solicited message is sent into corresponding service server, the interface server to create TCP with corresponding service server and is connected.
Based on the embodiment shown in Fig. 5, interactive system based on Web proxy server as shown in Figure 6, it is described to collect module, it is additionally operable to the solicited message being sent to after corresponding service server, receive the service server and respond the response message that the solicited message is made, the response message includes response address information and response parameter information;
Encrypting module, for the response message to be encrypted and serialize, the response message serialized;
The sending module, it is additionally operable to, according to the response address information, the response message of the serializing is sent into the Web proxy server.
Server architecture as shown in Figure 7, it includes Web server, the Web server is connected by Web proxy server interface with Web proxy server, the Web proxy server is connected by interface server interface with interface server, and the interface server is connected by service server interface with service server.Wherein, the service server can be connected by Web server interface with the Web server.
Further, as shown in Figure 7, the interface server is connected by service server interface with service server, can be specifically to be connected by access interface with access server (ES), it is connected by gatekeeper's interface with gatekeeper's server (GKS), it is connected by chatroom management interface with chatroom management server (CMS), it is connected by wealth interface with wealth server (WLS), it is connected by contents processing interface with content processing server (CPS), by notifying server interface to be connected with notice server (NS).
The workflow of the service architecture can be:
S201:The request of the web server response terminal device, solicited message is generated, and the solicited message is sent to the proxy server, the solicited message includes request address information and required parameter information;
S202:The Web proxy server receives the solicited message;
S203:The solicited message is encrypted and serialized by the Web proxy server, the solicited message serialized;
S204:The Web proxy server gives the request message transmission of the serializing to the interface server according to the request address information;
S205:The interface server receives the solicited message of the serializing, and the solicited message of the serializing includes request address information and required parameter information;
S206:The interface server carries out unserializing to the solicited message of the serializing, and decrypts and obtain solicited message;
S207:The solicited message is sent to corresponding service server by the interface server according to the request address information;
S208:The response message that the service server is made according to the solicited message is responded, the response message include response address information and response parameter information;
S209:The response message is sent to the interface server by the service server according to the response address information;
S210:The interface server receives the response message, and the response message includes response address information and response parameter information;
S211:The response message is encrypted and serialized by the interface server, the response message serialized;
S212:The response message of the serializing is sent to the Web proxy server by the interface server according to the response address information;
S213:The Web proxy server receives the response message of the serializing, and the response message of the serializing includes response address information and response parameter information;
S214:The response message of the serializing is decrypted the Web proxy server and unserializing, and meet with a response information;
S215:The response message is transferred to the Web server by the Web proxy server according to the response address information.
In addition, if being that service server actively sends information, Web proxy server can be directly sent information to by interface server, be not required to by proxy server.
The server architecture of the embodiment of the present invention, the solicited message of all Web servers and the response message of corresponding service server are accepted by Web proxy server, and information is encrypted, serializing, decryption, the processing such as unserializing, both the privacy of data had been ensure that, largely reduce the associative operation of Web server again, i.e. Web server does not have to the IP address and port information for paying close attention to all service servers, it is encrypted without to related data, the operation such as decryption, reduce the maintenance cost of Web server, also improve message transmission rate.The setting of interface server can be such that service server is encapsulated in after interface server, all service servers are all to pass through interface server with interacting for Web proxy server, improve the security of service server, because service server such as need not decrypt at the operation, the processing speed of service server is also improved.
It is described above; only embodiments of the invention, but protection scope of the present invention is not limited thereto, any one skilled in the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of exchange method based on Web proxy server, it is characterised in that the operation that the Web proxy server performs includes:
The solicited message of Web server is received, the solicited message includes request address information and required parameter information;
The solicited message is encrypted and serialized, the solicited message serialized;
According to the request address information, the request message transmission of the serializing is given to corresponding service server;
The response message that the service server responds the serializing that the solicited message is made is received, the response message of the serializing includes response address information and response parameter information;
The response message of the serializing is decrypted and unserializing, meet with a response information;
According to the response address information, the response message is transferred to the Web server.
2. the exchange method according to claim 1 based on Web proxy server, it is characterized in that, the request message transmission by the serializing gives corresponding service server, be by by the request message transmission of the serializing to interface server, after the interface server is handled the solicited message of the serializing, the information transfer after processing is given to corresponding service server further according to the request address information;The processing that the interface server is carried out to the solicited message of the serializing includes:
The solicited message of the serializing is received, the solicited message of the serializing includes request address information and required parameter information;
Unserializing is carried out to the solicited message of the serializing, and decrypts and obtains solicited message;
According to the request address information, the solicited message is sent to corresponding service server.
3. the exchange method according to claim 2 based on Web proxy server, it is characterised in that the described solicited message is sent to before corresponding service server includes:The interface server creates TCP with corresponding service server and is connected.
4. the exchange method according to claim 2 based on Web proxy server, it is characterised in that after the solicited message is sent into corresponding service server, including:
Receive the service server and respond the response message that the solicited message is made, the response message includes response address information and response parameter information;
The response message is encrypted and serialized, the response message serialized;
According to the response address information, the response message of the serializing is sent to the Web proxy server.
5. the exchange method according to claim 1 based on Web proxy server, characterized in that, the service server includes any one or more in subscription access server, gatekeeper's server, chatroom management server, wealth server, content processing server and notice server.
6. a kind of interactive system based on Web proxy server, it is characterised in that the Web proxy server includes:
Receiving module, for receiving the solicited message of Web server, the solicited message includes request address information and required parameter information;
Serialization module, for the solicited message to be encrypted and serialize, the solicited message serialized;
Transport module, for according to the request address information, giving the request message transmission of the serializing to corresponding service server;
The receiving module, it is additionally operable to receive the response message that the service server responds the serializing that the solicited message is made, the response message includes response address information and response parameter information;
Unserializing module, for the response message of the serializing being decrypted and unserializing, meet with a response information;
The transport module, is additionally operable to according to response address information, and the response message is transferred into the Web server.
7. the interactive system according to claim 6 based on Web proxy server, it is characterised in that the transport module, be additionally operable to the request message transmission by the serializing to interface server;The interface server includes:
Module is collected, for receiving the solicited message of the serializing, the solicited message of the serializing includes request address information and required parameter information;
Deciphering module, for carrying out unserializing to the solicited message of the serializing, and decrypt and obtain solicited message;
Sending module, for according to the request address information, the solicited message to be sent into corresponding service server.
8. the interactive system according to claim 7 based on Web proxy server, it is characterised in that the interface server also includes:Creation module, for before the solicited message is sent into corresponding service server, the interface server to create TCP with corresponding service server and is connected.
9. the exchange method according to claim 7 based on Web proxy server, it is characterized in that, it is described to collect module, it is additionally operable to the solicited message being sent to after corresponding service server, receive the service server and respond the response message that the solicited message is made, the response message includes response address information and response parameter information;
Encrypting module, for the response message to be encrypted and serialize, the response message serialized;
The sending module, it is additionally operable to, according to the response address information, the response message of the serializing is sent into the Web proxy server.
A kind of 10. server architecture, it is characterized in that, including Web server, the Web server is connected by Web proxy server interface with Web proxy server, the Web proxy server is connected by interface server interface with interface server, and the interface server is connected by service server interface with service server.
CN201610414408.2A 2016-06-14 2016-06-14 Exchange method, system and server architecture based on Web proxy server Pending CN107508781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610414408.2A CN107508781A (en) 2016-06-14 2016-06-14 Exchange method, system and server architecture based on Web proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610414408.2A CN107508781A (en) 2016-06-14 2016-06-14 Exchange method, system and server architecture based on Web proxy server

Publications (1)

Publication Number Publication Date
CN107508781A true CN107508781A (en) 2017-12-22

Family

ID=60678260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610414408.2A Pending CN107508781A (en) 2016-06-14 2016-06-14 Exchange method, system and server architecture based on Web proxy server

Country Status (1)

Country Link
CN (1) CN107508781A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019237587A1 (en) * 2018-06-13 2019-12-19 平安科技(深圳)有限公司 Script execution method, server management system and storage medium
CN110868607A (en) * 2019-11-26 2020-03-06 广州虎牙科技有限公司 Live game interaction method and device, server and readable storage medium
CN111786809A (en) * 2020-05-11 2020-10-16 北京奇艺世纪科技有限公司 Client software network optimization method, system, device and storage medium
CN112565059A (en) * 2020-12-03 2021-03-26 城云科技(中国)有限公司 Message transmission method and system based on instant messaging private cloud architecture

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126231A1 (en) * 2001-12-29 2003-07-03 Jang Min Su System and method for reprocessing web contents in multiple steps
CN101132300A (en) * 2007-08-22 2008-02-27 华为技术有限公司 Multimedia business implementing system, method and relevant device
CN102594798A (en) * 2011-12-31 2012-07-18 苏州阔地网络科技有限公司 Agent method and system for connecting databases
CN102624895A (en) * 2012-03-09 2012-08-01 亿赞普(北京)科技有限公司 Method and system for processing network service request
CN102726022A (en) * 2009-11-30 2012-10-10 阿尔卡特朗讯公司 Tiered service resell mechanism for IPTV
CN102790782A (en) * 2011-05-17 2012-11-21 腾讯科技(北京)有限公司 Information processing method and system of microblog
CN102868727A (en) * 2012-08-23 2013-01-09 广东电子工业研究院有限公司 Method for realizing high availability of logical volume
CN103108002A (en) * 2011-11-10 2013-05-15 阿里巴巴集团控股有限公司 Method, system and device for data pushing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126231A1 (en) * 2001-12-29 2003-07-03 Jang Min Su System and method for reprocessing web contents in multiple steps
CN101132300A (en) * 2007-08-22 2008-02-27 华为技术有限公司 Multimedia business implementing system, method and relevant device
CN102726022A (en) * 2009-11-30 2012-10-10 阿尔卡特朗讯公司 Tiered service resell mechanism for IPTV
CN102790782A (en) * 2011-05-17 2012-11-21 腾讯科技(北京)有限公司 Information processing method and system of microblog
CN103108002A (en) * 2011-11-10 2013-05-15 阿里巴巴集团控股有限公司 Method, system and device for data pushing
CN102594798A (en) * 2011-12-31 2012-07-18 苏州阔地网络科技有限公司 Agent method and system for connecting databases
CN102624895A (en) * 2012-03-09 2012-08-01 亿赞普(北京)科技有限公司 Method and system for processing network service request
CN102868727A (en) * 2012-08-23 2013-01-09 广东电子工业研究院有限公司 Method for realizing high availability of logical volume

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019237587A1 (en) * 2018-06-13 2019-12-19 平安科技(深圳)有限公司 Script execution method, server management system and storage medium
CN110868607A (en) * 2019-11-26 2020-03-06 广州虎牙科技有限公司 Live game interaction method and device, server and readable storage medium
CN110868607B (en) * 2019-11-26 2022-01-04 广州虎牙科技有限公司 Live game interaction method and device, server and readable storage medium
CN111786809A (en) * 2020-05-11 2020-10-16 北京奇艺世纪科技有限公司 Client software network optimization method, system, device and storage medium
CN112565059A (en) * 2020-12-03 2021-03-26 城云科技(中国)有限公司 Message transmission method and system based on instant messaging private cloud architecture

Similar Documents

Publication Publication Date Title
EP1024630B1 (en) A secure electronic mail system
US7904948B2 (en) Systems for protecting subscriber identification between service and content providers
AU760045B2 (en) Data communications
US7949704B2 (en) Administration of a broker-based publish/subscribe messaging system
CN101166160B (en) A method and system for filtering instant communication rubbish information
CN102088441B (en) Data encryption transmission method and system for message-oriented middleware
CN107508781A (en) Exchange method, system and server architecture based on Web proxy server
CN104602238A (en) Wireless network connecting method, device and system
CN106250173B (en) A method of message Remote Installation and unloading advertisement based on MQTT
RU2454708C2 (en) Method of realising status monitoring mechanism in communication session between server and client system
CN111741014B (en) Message sending method, device, server and storage medium
US20030065953A1 (en) Proxy unit, method for the computer-assisted protection of an application server program, a system having a proxy unit and a unit for executing an application server program
CN106453069B (en) A kind of instant communication message sends, checks, checking control method and its equipment
CN111246407A (en) Data encryption and decryption method and device for short message transmission
CN112637230B (en) Instant messaging method and system
CN113259436B (en) Network request processing method and device
JP2005526329A (en) Data distribution processing method with access control and management platform
CN113992669A (en) Distributed data distribution method for trusted messages in industry
CN102799836B (en) A kind of method that software is promoted
CN106534895B (en) playing method and terminal of encrypted multimedia file
CN106355101A (en) Transparent file encryption and decryption system and method for simple storage services
JP2004078559A (en) Encryption mail communication method and encryption mail system
JP2005149049A (en) Address generation system, address generation method, and address generation program
CN114978591B (en) Domain network data interaction system and method based on safety protection
KR101275470B1 (en) Method for administering message input program and agent program by using the process of encoding-decoding process of multimedia message

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171222

WD01 Invention patent application deemed withdrawn after publication