WO2016095729A1 - 一种消息处理方法、装置及*** - Google Patents

一种消息处理方法、装置及*** Download PDF

Info

Publication number
WO2016095729A1
WO2016095729A1 PCT/CN2015/096730 CN2015096730W WO2016095729A1 WO 2016095729 A1 WO2016095729 A1 WO 2016095729A1 CN 2015096730 W CN2015096730 W CN 2015096730W WO 2016095729 A1 WO2016095729 A1 WO 2016095729A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
server
client
response
modified
Prior art date
Application number
PCT/CN2015/096730
Other languages
English (en)
French (fr)
Inventor
严东华
茅晓锋
吴日升
Original Assignee
阿里巴巴集团控股有限公司
严东华
茅晓锋
吴日升
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司, 严东华, 茅晓锋, 吴日升 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016095729A1 publication Critical patent/WO2016095729A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present application relates to the field of the Internet, and in particular, to a message processing method, apparatus, and system.
  • Client-server is the most common network architecture at the moment. Through the interaction between the client and the server, various services can be completed for the user. For example, by interacting with a web server through a web browser, the user can see the relevant web page in the web browser.
  • the message sent by the client to the server and the message sent by the server to the client are generated and sent according to their respective message generation rules. Therefore, if you want to change the message passed between the two, you can only modify its message generation rules on the client or server side, or manually modify the client or server after generating the message according to the established message generation rules. The generated message.
  • the purpose of the present application is to provide a message processing method, apparatus, and system, so as to achieve a purpose of efficiently modifying a message between a client and a server at any time.
  • a message processing method is applied to a proxy server, where the proxy server provides an interface for configuring a modification rule, for example, the method may include: The interface receives the modification rule corresponding to one or more message types respectively; intercepts the message transmitted between the client and the server, and applies the modification rule corresponding to the message type to which the message belongs to modify the message to obtain the modified message. Returning the modified message to the client or the server.
  • a message processing apparatus configured to a proxy server, wherein the proxy server provides an interface for configuring a modification rule
  • the apparatus may include: rule receiving a unit that can be used to receive one or more cancellations through the interface
  • the intercepting and modifying unit may be configured to intercept the message transmitted between the client and the server, and modify the message by applying a modification rule corresponding to the message type to which the message belongs, to obtain the modified message.
  • a return unit which can be used to return a modified message to the client or the server.
  • a message processing system may include: a client, which may be configured to send a message to a server through a proxy server and receive a message fed back by the server through a proxy server. .
  • a proxy server for configuring an interface for modifying a rule, which can be used to receive a modification rule corresponding to one or more message types through the interface, intercept a message transmitted between the client and the server, and apply the message to which the message belongs.
  • the modification rule corresponding to the message type modifies the message, obtains the modified message, and returns the modified message to the client or the server.
  • the proxy server can be used to receive the message sent by the client through the proxy server and feed back the message to the client through the proxy server.
  • the proxy server of the embodiment of the present application provides an interface for configuring the modification rule. Therefore, the user can configure the modification rule corresponding to each message type through the interface at any time, so that the proxy server applies the modification rule to the intercepted client.
  • the message between the server and the server is modified and then forwarded, so that the user can modify the message of any link in the entire communication process at any time, and meet the needs of the user to modify the message transmitted between the client and the server at any time.
  • FIG. 1 is a schematic flowchart of a message processing method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a message processing method according to another embodiment of the present disclosure.
  • FIG. 3 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a message processing system according to an embodiment of the present application.
  • the client sends a message, such as an HTTP request, after the client is set to the proxy mode.
  • the request header, the request body, the response header returned by the server, and the response body are forwarded by the proxy server, and the proxy server can intercept the messages of both parties.
  • the proxy server can be modified to expose the processes of forwarding messages between the client and the server to the user, that is, to add a function module of the user configuration modification rule in the proxy server and provide a programmable interface.
  • the user can configure the modification rule corresponding to each message type through the interface at any time, and the proxy server applies the modification rule to modify and forward the intercepted message. Therefore, the user can modify the message of any link in the entire communication process at any time, thereby satisfying The user can modify the need to transfer messages between the client and the server at any time.
  • the embodiment of the present application provides the following message processing method, device, and system.
  • FIG. 1 it is a schematic flowchart of a message processing method according to an embodiment of the present application.
  • the method can be applied to a proxy server, and the proxy server provides an interface for configuring a modification rule.
  • the method can include:
  • the message type on the life cycle of the HTTP request sent by the client may include: a request header of the HTTP request sent by the client, a request body, a response header and a status code fed back by the server for the HTTP request, a response body, and the like.
  • the modification rule received by the interface may include: a modification rule corresponding to the request header, a modification rule corresponding to the request body, a modification rule corresponding to the response header, and/or a modification rule corresponding to the response body, and the like.
  • the message type may be different in different application scenarios, and may be divided according to actual interaction links between the client and the server.
  • the proxy server may also save the modification rule for subsequent use.
  • the modification rule may specifically be a modification program for injecting new content.
  • the modification program can be used to replace the request protocol sent to the server (eg, the replacement of the HTTP protocol and the HTTPS protocol), replace the request parameters sent to the server, replace the content in the request body sent to the server, and replace the HTTP response of the server response.
  • the modification rule in the embodiment of the present application is only one possible implementation manner in the form of a program, and the present application does not limit this.
  • the user can summarize the self-written modification programs into a configuration file according to the parameter form of the interface, and the proxy server receives the configuration through the interface. File and save it.
  • the saved modification rule can be automatically read each time the proxy server is started, or the saved configuration file is read when the modification rule needs to be applied.
  • the saved configuration file may be detected according to a preset order. If it is detected, the modified rule is read, and when the message belonging to the message type corresponding to the modification rule is intercepted, the modification rule is applied. Modify the message, if it is not detected, you can transfer the message in the normal proxy mode.
  • S120 Intercept the message transmitted between the client and the server, and modify the message by using a modification rule corresponding to the message type to which the message belongs, to obtain the modified message.
  • the proxy server in the embodiment of the present application can be started by executing a command line.
  • a proxy server named anyproxy can be started by executing the command line anyproxy or by specifying a port, for example, anyproxy-p 8001.
  • the proxy server anyproxy can listen to messages on any interaction between the client and the server, for example, the request header of the HTTP request sent by the client, the request body, the response header and status code fed back by the server, and the response body. Therefore, the proxy server can intercept messages passed between the client and the server.
  • the proxy server is blocked because the proxy server intercepts the message passed between the client and the server.
  • the message can be prevented from being sent continuously, and the message can be obtained, and then the message is modified by applying a modification rule corresponding to the message type to which the message belongs, and the modified message is obtained.
  • the proxy server may intercept the request header sent by the client to the server, and modify the request header by using a modification rule corresponding to the request header.
  • the modified request header and/or, intercepting the request body sent by the client to the server, modifying the request body by using a modification rule corresponding to the request body, and obtaining the modified request body.
  • the proxy server may intercept the response header and status code fed back to the client by the server, and apply the response rule corresponding to the response header to the response header and The status code is modified to obtain the modified response header and status code; and/or, the response body that the server feeds back to the client is modified, and the response body is modified by applying the modification rule corresponding to the response body to obtain the modified response body.
  • the proxy server may intercept the response body fed back to the client by the server, and the response body corresponding to the modification rule injects the response body into the call. The code of the program.
  • the proxy server in the embodiment of the present application may return to the server at least the modified request header or the modified Request message for the request body.
  • the request message composed of the modified request header and the request body sent by the client may be returned to the server, or the request header sent by the client and the request message composed of the modified request body may be returned to the server.
  • a request message consisting of the modified request header and the modified request body is returned to the server.
  • the proxy server in the embodiment of the present application may return to the client at least the modified response header. And a status code or a response message of the modified response body.
  • a response message composed of the modified response header and the status code and the response body sent by the server may be returned to the client, or the response header sent by the server may be returned to the client.
  • the proxy server applies a modification rule to modify the request header, the request body, the response header, the status code, and the response body in the HTTP request life cycle of the client is described in detail.
  • the process of message transmission in the lifetime of a client-HTTP request may include:
  • the client sends a request header for the HTTP request.
  • the proxy server intercepts the request header sent by the client, searches for a request header handler corresponding to the request header (that is, a modification rule corresponding to the request header), and passes the request header as a parameter to the request header handler for processing, and saves the Requesting a modified request header returned by the header handler;
  • the client sends a request body for the HTTP request.
  • the proxy server intercepts the request body sent by the client, searches for the request body processing program corresponding to the request body (that is, the modification rule corresponding to the request body), and passes the request body as a parameter to the request body processing program for processing, and saves the The body of the modified body returned by the request body handler;
  • the proxy server passes the modified request header and the modified request body as parameters to the HTTP request processing program for processing, and determines, according to the processing result returned by the HTTP request processing program, whether to immediately respond to the client, that is,
  • the HTTP request handler may be set to respond locally to certain requests of the client, and according to the processing result returned by the HTTP request processing program, determine whether the local response is immediately made to the client;
  • the proxy server obtains the modified request message according to the modified request header and the modified request body, and sends a modified request message to the server;
  • the proxy server intercepts the response header and the status code fed back by the server for the modified request message, and searches for a response header processing program corresponding to the response header (ie, a modification rule corresponding to the response header), and the response header and the status code are used.
  • the parameter is passed to the response header processing program for processing, and the modified response header and status code are obtained, and the modified response header and status code returned by the response header processing program are sent to the client;
  • the proxy server intercepts the response body fed back by the server for the modified request message, and searches for a response body processing program corresponding to the response body (ie, a modification rule corresponding to the response body), and The response body is passed as a parameter to the response body processing program for processing, and the modified response body returned by the response body processing program is sent to the client.
  • a response body processing program corresponding to the response body (ie, a modification rule corresponding to the response body)
  • the response body is passed as a parameter to the response body processing program for processing, and the modified response body returned by the response body processing program is sent to the client.
  • the user can also set a delay time in which the modified message is sent in the modification rule.
  • the proxy server can determine whether the delay is needed according to whether the delay time is set in the modification rule. If the delay is required, the proxy server can send the modification to the server or the client after waiting for the corresponding time. After the message, if no delay is needed, the modified message can be sent to the server or client immediately when the modified message is obtained.
  • the proxy server the method provided by the embodiment of the present application is applied, and the proxy server is configured to provide an interface for configuring the modification rule. Therefore, the user can configure the modification rule corresponding to each message type through the interface at any time to enable the proxy server to apply.
  • the modification rule modifies and forwards the intercepted message between the client and the server, so that the user can modify the message of any link of the entire communication process at any time, and meets the need for the user to modify the message transmitted between the client and the server at any time. .
  • the method of manually modifying the response body to inject the debugging tool for the HTML5 is inefficient, and the method provided by the embodiment of the present application can be used to solve the debugging of the HTML5 application.
  • the client can be a web browser.
  • the proxy server intercepts the response body returned by the server, the response body may be injected with code for calling the debugging tool by applying a modification rule corresponding to the response body.
  • a part of the code segment of the modification rule corresponding to the response body may include:
  • the embodiment of the present application implements the interception of the response body and the injection debugging tool on the proxy server, and the efficiency is high, which greatly improves the debugging efficiency of the HTML5.
  • the embodiment of the present application further provides a message processing apparatus configured in a proxy server.
  • the proxy server provides an interface for configuring a modification rule.
  • FIG. 3 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application.
  • the apparatus may include: a rule receiving unit 310, configured to receive, by using the interface, a modification rule corresponding to one or more message types respectively; and an intercept modification unit 320, which may be used to intercept the client and the server.
  • the message is delivered, and the message is modified by applying a modification rule corresponding to the message type to which the message belongs, to obtain a modified message.
  • the returning unit 330 can be configured to return the modified message to the client or the server.
  • the intercept modification unit 320 may include: a request header intercept modification sub-unit 321, which may be configured to intercept a request header sent by the client to the server, and apply the modification rule corresponding to the request header to the request header. Modify to get the modified request header. And/or the request body intercepting modification sub-unit 322 is configured to intercept the request body sent by the client to the server, modify the request body by using a modification rule corresponding to the request body, and obtain the modified request body.
  • the returning unit 330 may be configured to return, to the server, a request message that includes at least the modified request header or the modified request body.
  • the intercept modification unit 320 may include: a response header intercept modification sub-unit 323, which may be used to intercept a response header and a status code fed back by the server to the client, and apply a modification rule corresponding to the response header. The response header and the status code are modified to obtain a modified response header and status code. And/or the response body intercepting modification sub-unit 324 can be used to intercept the response body fed back to the client by the server, and modify the response body by applying a modification rule corresponding to the response body to obtain the modified response body.
  • the returning unit 330 may be configured to return, to the client, a response message that includes at least the modified response header and the status code, or the modified response body.
  • the response body intercept modification sub-unit 324 can be used to intercept the response body that the server feeds back to the client, and apply the modification rule corresponding to the response body to the response.
  • the body injects code for calling the program.
  • the method of manually modifying the response body to inject the debugging tool for the HTML5 is inefficient, and the method provided by the embodiment of the present application can be used to solve the debugging of the HTML5 application.
  • the response body intercept modification sub-unit 324 can be configured to intercept a response body fed back by the server to the client, and apply the response body corresponding to the modification rule to inject the response body to invoke debugging.
  • the code for the tool is described in this embodiment, and the response body intercept modification sub-unit 324 configured to intercept a response body fed back by the server to the client, and apply the response body corresponding to the modification rule to inject the response body to invoke debugging.
  • the proxy server the method provided by the embodiment of the present application is applied, and the proxy server is configured to provide an interface for configuring the modification rule. Therefore, the user can configure the modification rule corresponding to each message type through the interface at any time to enable the proxy server to apply.
  • the modification rule modifies and forwards the intercepted message between the client and the server, so that the user can modify the message of any link of the entire communication process at any time, and meets the need for the user to modify the message transmitted between the client and the server at any time. .
  • request header intercept modification subunit 321, the request body intercept modification subunit 322, the response header intercept modification subunit 323, and the response body intercept modification subunit 324 are drawn by a dotted line in FIG. 3, in the embodiment of the present application, To indicate that these units are not necessary units of the message processing apparatus disclosed in the embodiments of the present application.
  • the embodiment of the present application further provides a message processing system.
  • FIG. 4 it is a schematic structural diagram of a message processing system according to an embodiment of the present application.
  • the system can include:
  • the client 410 can be configured to send a message to the server through the proxy server and receive the message fed back by the server through the proxy server.
  • a proxy server 420 is provided for configuring an interface for modifying a rule, and may be configured to receive, by using the interface, a modification rule corresponding to one or more message types, intercept a message transmitted between the client and the server, and apply the message.
  • the modification rule corresponding to the message type modifies the message, obtains the modified message, and returns the modified message to the client or the server.
  • the proxy server 430 can be configured to receive the message sent by the client through the proxy server and feed back the message to the client through the proxy server.
  • the proxy server in the system provides an interface for configuring the modification rule
  • the user can configure the modification rule corresponding to each message type through the interface at any time, so that the proxy server should
  • the modified rule is used to modify and forward the intercepted message between the client and the server, so that the user can modify the message of any link in the entire communication process at any time, and the user can modify the message transmitted between the client and the server at any time. need.
  • the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.
  • the invention is applicable to a wide variety of general purpose or special purpose computing system environments or configurations.
  • the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申请公开了一种应用于代理服务器的消息处理方法,其中,所述代理服务器提供了用于配置修改规则的接口,所述方法可以包括:通过所述接口接收一个或多个消息类型分别对应的修改规则,拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息,向所述客户端或所述服务器返回修改后的消息,由于用户可以随时通过配置修改规则使代理服务器修改客户端与服务器端之间的消息,因此可以满足用户随时修改的需要。另外,本申请还公开了一种配置于代理服务器的消息处理装置及消息处理***。

Description

一种消息处理方法、装置及*** 技术领域
本申请涉及互联网领域,尤其涉及一种消息处理方法、装置及***。
背景技术
客户端-服务器,是目前最常见的网络架构。通过客户端与服务器之间交互消息,可以为用户完成各种服务。例如,通过网页浏览器与网页服务器之间交互消息,可以使用户在网页浏览器看到相关网页。
由于客户端发送给服务器的消息以及服务器发送给客户端的消息,都是按照各自已制定的消息生成规则生成并发送的。因此,如果想要改变二者之间传递的消息,只能在客户端或服务器端修改其消息生成规则,或者,在按照已制定的消息生成规则生成消息之后,在客户端或服务器端手动修改已生成的消息。
但是,在客户端或服务器端修改消息生成规则或手动修改消息,效率较低,无法满足用户随时对客户端与服务器之间的消息进行修改的需要。
发明内容
有鉴于此,本申请的目的在于提供一种消息处理方法、装置及***,以实现用户可以随时高效率地对客户端与服务器之间的消息进行修改的目的。
在本申请实施例的第一个方面,提供了一种应用于代理服务器的消息处理方法,其中,所述代理服务器提供了用于配置修改规则的接口,例如,所述方法可以包括:通过所述接口接收一个或多个消息类型分别对应的修改规则;拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息;向所述客户端或所述服务器返回修改后的消息。
在本申请实施例的第二个方面,提供了一种配置于代理服务器的消息处理装置,其中,所述代理服务器提供了用于配置修改规则的接口,例如,所述装置可以包括:规则接收单元,可以用于通过所述接口接收一个或多个消 息类型分别对应的修改规则。拦截修改单元,可以用于拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息。返回单元,可以用于向所述客户端或所述服务器返回修改后的消息。
在本申请实施例的第三个方面,提供了一种消息处理***,例如,该***可以包括:客户端,可以用于通过代理服务器向服务器发送消息以及通过代理服务器接收所述服务器反馈的消息。提供了用于配置修改规则的接口的代理服务器,可以用于通过所述接口接收一个或多个消息类型分别对应的修改规则,拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息,向所述客户端或所述服务器返回修改后的消息。代理服务器,可以用于通过代理服务器接收客户端发送的消息以及通过代理服务器向客户端反馈消息。
本申请实施例具有如下有益效果:
由于应用本申请实施例的代理服务器提供了用于配置修改规则的接口,因此,用户可以随时通过该接口配置各个消息类型对应的修改规则,使代理服务器应用该修改规则对拦截到的、客户端与服务器之间的消息进行修改再转发,从而用户可以随时修改整个通信过程任意环节的消息,满足用户随时修改客户端与服务器端之间传输的消息的需要。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一实施例提供的消息处理方法流程示意图;
图2为本申请另一实施例提供的消息处理方法流程示意图;
图3为本申请实施例提供的消息处理装置结构示意图;
图4为本申请实施例提供的消息处理***结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
针对现有技术修改客户端与服务器之间消息效率较低,无法满足用户随时修改需要的问题,本申请的发明人发现,客户端在设置为代理模式后,客户端发出的消息,例如HTTP请求的请求头、请求体,服务端返回的响应头、响应体都会经过代理服务器转发,代理服务器可以拦截双方的消息。本申请的发明人还发现,可以对代理服务器进行改造,把转发客户端与服务器之间消息的各个过程暴露给用户,即,在代理服务器中增加用户配置修改规则的功能模块并提供可编程接口,使用户随时可通过该接口配置各个消息类型对应的修改规则,由代理服务器应用该修改规则对所拦截的消息进行修改再转发,因此,用户可以随时修改整个通信过程任意环节的消息,从而满足用户随时修改客户端与服务器端之间传输消息的需要。
基于上述分析,本申请实施例提供了如下的消息处理方法、装置及***。
例如,参见图1,为本申请实施例提供的一种消息处理方法流程示意图。其中,该方法可以应用于代理服务器,所述代理服务器提供了用于配置修改规则的接口。如图1所示,该方法可以包括:
S110、通过所述接口接收一个或多个消息类型分别对应的修改规则。
其中,不同消息类型可以按照客户端与服务器之间不同交互环节来划分。例如,客户端发出的HTTP请求的生命周期上的消息类型可以包括:客户端发出的HTTP请求的请求头、请求体、服务器针对HTTP请求反馈的响应头及状态码、响应体,等等。相应地,通过所述接口接收的修改规则可以包括:请求头对应的修改规则、请求体对应的修改规则、响应头对应的修改规则、和/或者响应体对应的修改规则,等。
当然,所述消息类型在不同应用场景下可以不同,具体可以根据客户端与服务器之间实际的交互环节来划分。
一些可能的实施方式中,代理服务器在接收到修改规则之后,还可以将该修改规则保存下来以便后续使用。其中,所述修改规则具体可以为用于注入新内容的修改程序。例如,修改程序可以用于替换向服务器发出的请求协议(如,HTTP协议和HTTPS协议的替换)、替换向服务器发出的请求参数,替换向服务器发出的请求体中的内容、替换服务器响应的HTTP状态码、替换服务器响应的HTTP头、替换服务器响应的数据、等等。需要说明的是,本申请实施例所述修改规则以程序的形式体现仅为一种可能的实施方式,本申请对此并不进行限制。
考虑到修改规则以配置文件的形式保存,更加便于共享以及逐步扩展完善,提升效率,用户可以根据该接口的参数形式把自行编写的修改程序汇总成一份配置文件,代理服务器通过该接口接收该配置文件并保存下来。
在代理服务器将接收到的修改规则保存下来之后,可以在每次启动代理服务器时,自动读取所保存的修改规则,或者,在需要应用修改规则时读取所保存的配置文件。例如,代理服务器启动时,可以根据预置顺序检测所保存的配置文件,如果检测到,则读取其中的修改规则,在拦截到属于该修改规则对应的消息类型的消息时,应用该修改规则修改该消息,如果检测不到,则可以按普通代理方式传输消息。
S120、拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息。
例如,本申请实施例所述代理服务器可以通过执行命令行的方式启动。例如,被命名为anyproxy的代理服务器,可以通过执行命令行anyproxy启动或者通过指定端口启动,例如,anyproxy-p 8001。对于客户端来说,可以通过设置为代理模式并指定端口为anyproxy服务端口,使所有基于HTTP、HTTPS协议的请求经过代理服务器anyproxy。由于代理服务器anyproxy可以监听到客户端与服务器之间任意交互环节上的消息,例如,客户端发出的HTTP请求的请求头、请求体、服务器反馈的响应头与状态码、响应体等。因此,代理服务器可以拦截客户端与服务器之间传递的消息。可以理解的是,由于代理服务器拦截了客户端与服务器之间传递的消息,因此,代理服务器 既可以阻止所述消息继续发送,也可以获取到该消息,进而应用该消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息。
例如,在客户端HTTP请求的生命周期中,对于客户端发出的消息来说,代理服务器可以拦截客户端向服务器发出的请求头,应用请求头对应的修改规则对所述请求头进行修改,得到修改后的请求头;和/或者,拦截客户端向服务器发出的请求体,应用请求体对应的修改规则对所述请求体进行修改,得到修改后的请求体。
再例如,在客户端HTTP请求的生命周期中,对于服务器发出的消息来说,代理服务器可以拦截服务器向客户端反馈的响应头和状态码,应用响应头对应的修改规则对所述响应头和状态码进行修改,得到修改后的响应头和状态码;和/或者,拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体进行修改,得到修改后的响应体。例如,一些可能的实施方式中,为了增加客户端的功能,例如,调试功能等,代理服务器可以拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用程序的代码。
S130、向所述客户端或所述服务器返回修改后的消息。
例如,结合上面对HTTP请求生命周期中的请求头、请求体进行修改的实施方式,本申请实施例的代理服务器可以向所述服务器返回至少包含所述修改后的请求头或者所述修改后的请求体的请求消息。具体地,例如,可以向服务器返回由修改后的请求头以及客户端发出的请求体组成的请求消息,或者,向服务器返回由客户端发出的请求头以及修改后的请求体组成的请求消息,或者,向服务器返回由修改后的请求头以及修改后的请求体组成的请求消息。
再例如,结合上面对HTTP请求生命周期中的响应头和状态码、响应体进行修改的实施方式,本申请实施例的代理服务器可以向所述客户端返回至少包含所述修改后的响应头和状态码、或者、所述修改后的响应体的响应消息。具体地,例如,可以向客户端返回由修改后的响应头和状态码以及服务器发出的响应体组成的响应消息,或者,向客户端返回由服务器发出的响应头和 状态码以及修改后的响应体组成的请求消息,或者,向服务器返回由修改后的响应头和状态码以及修改后的响应体组成的响应消息。
下面,结合图2所示信令示意图,对代理服务器应用修改规则对客户端发出HTTP请求生命周期中的请求头、请求体、响应头和状态码、响应体进行修改的实施方式进行详细说明。例如,客户端一HTTP请求的生命周期中消息传输的过程可以包括:
S200、客户端发出HTTP请求的请求头;
S210、代理服务器拦截客户端发出的请求头,查找请求头对应的请求头处理程序(即,请求头对应的修改规则),把该请求头作为参数传递给该请求头处理程序进行处理,保存该请求头处理程序返回的修改后的请求头;
S220、客户端发出HTTP请求的请求体;
S230、代理服务器拦截客户端发出的请求体,查找请求体对应的请求体处理程序(即,请求体对应的修改规则),把该请求体作为参数传递给该请求体处理程序进行处理,保存该请求体处理程序返回的体修改后的请求体;
S240、代理服务器将修改后的请求头以及修改后的请求体作为参数传递给HTTP请求处理程序进行处理,根据所述HTTP请求处理程序返回的处理结果判断是否立即对客户端作出响应,也就是说,在某些应用场景下,可以设置HTTP请求处理程序针对客户端的某些请求进行本地响应,根据所述HTTP请求处理程序返回的处理结果判断是否立即对客户端作出本地响应;
S250、如果是,则代理服务器立即将处理结果返回给客户端;
S260、如果否,则代理服务器根据修改后的请求头以及修改后的请求体得到修改后的请求消息,向服务器发出修改后的请求消息;
S270、代理服务器拦截服务器针对所述修改后的请求消息反馈的响应头和状态码,并查找响应头对应的响应头处理程序(即,响应头对应的修改规则),把该响应头和状态码作为参数传递给该响应头处理程序进行处理,得到修改后的响应头和状态码,将该响应头处理程序返回的修改后的响应头和状态码发送给客户端;
S280、代理服务器拦截服务器针对所述修改后的请求消息反馈的响应体,并查找响应体对应的响应体处理程序(即,响应体对应的修改规则),把 该响应体作为参数传递给该响应体处理程序进行处理,将该响应体处理程序返回的修改后的响应体发送给客户端。
其中,用户还可以在修改规则中设置修改后的消息被发送的延迟时间。相应地,代理服务器在拦截到客户端或服务器发送的消息之后,可以根据修改规则中是否设置延迟时间判断是否需要延迟,如果需要延迟则可以在等待相应时间之后,再向服务器或客户端发送修改后的消息,如果不需要延迟,则可以在得到修改后的消息时,立即向服务器或客户端发送修改后的消息。
可见,在代理服务器应用本申请实施例提供的方法,由于使代理服务器设置提供了用于配置修改规则的接口,因此,用户可以随时通过该接口配置各个消息类型对应的修改规则,使代理服务器应用该修改规则对拦截到的、客户端与服务器之间的消息进行修改再转发,从而用户可以随时修改整个通信过程任意环节的消息,满足用户随时修改客户端与服务器端之间传输的消息的需要。
一些可能的实施方式中,针对现有技术手动修改响应体来注入对HTML5的调试工具效率低的问题,本申请实施例提供的方法可以用来解决HTML5应用的调试。例如,在该实施方式中,所述客户端可以为网页浏览器。代理服务器拦截服务器返回的响应体之后,可以应用响应体对应的修改规则对所述响应体注入用于调用调试工具的代码。例如,该响应体对应的修改规则的部分代码段可以包括:
“replaceServerResData:function(req,res,serverResData)
{if(/html/i.test(res.headers['content-type']))
{serverResData=serverResData.toString();
serverResData=‘<script src=“http://localhost:8888/weinre.js”></script>”
通过如上所示的修改规则对响应体的处理,可以在响应体尾部加入对调试工具weinre的调用代码“<script src=“http://localhost:8888/weinre.js”></script>”。从而客户端在渲染了与该响应体对应的HTML5页面之后,由于响应体中已经注入了对调试工具weinre.js调用的代码,所以会加载weinre.js的调试脚本,对HTML5页面进行调试。
由于代理服务器对客户端的响应可以与服务器实际响应保持同步,因此, 本申请实施例在代理服务器上实现对响应体的拦截以及注入调试工具,效率较高,很大程度上提高了对HTML5的调试效率。
与本申请实施例消息处理方法相对应的,本申请实施例还提供了一种配置于代理服务器的消息处理装置。其中,所述代理服务器提供了用于配置修改规则的接口。
例如,参见图3,为本申请实施例提供的消息处理装置结构示意图。如图3所示,该装置可以包括:规则接收单元310,可以用于通过所述接口接收一个或多个消息类型分别对应的修改规则;拦截修改单元320,可以用于拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息。返回单元330,可以用于向所述客户端或所述服务器返回修改后的消息。
一些可能的实施方式中,所述拦截修改单元320可以包括:请求头拦截修改子单元321,可以用于拦截客户端向服务器发出的请求头,应用请求头对应的修改规则对所述请求头进行修改,得到修改后的请求头。和/或者,请求体拦截修改子单元322,可以用于拦截客户端向服务器发出的请求体,应用请求体对应的修改规则对所述请求体进行修改,得到修改后的请求体。相应地,所述返回单元330,可以用于向所述服务器返回至少包含所述修改后的请求头或者所述修改后的请求体的请求消息。
另一些可能的实施方式中,所述拦截修改单元320可以包括:响应头拦截修改子单元323,可以用于拦截服务器向客户端反馈的响应头和状态码,应用响应头对应的修改规则对所述响应头和状态码进行修改,得到修改后的响应头和状态码。和/或者,响应体拦截修改子单元324,可以用于拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体进行修改,得到修改后的响应体。相应地,其中,所述返回单元330,可以用于向所述客户端返回至少包含所述修改后的响应头和状态码、或者、所述修改后的响应体的响应消息。
结合上一实施方式,例如,所述响应体拦截修改子单元324,可以用于拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应 体注入用于调用程序的代码。一些可能的实施方式中,针对现有技术手动修改响应体来注入对HTML5的调试工具效率低的问题,本申请实施例提供的方法可以用来解决HTML5应用的调试。例如,在该实施方式中,所述响应体拦截修改子单元324,可以用于拦截服务器向所述客户端反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用调试工具的代码。
可见,在代理服务器应用本申请实施例提供的方法,由于使代理服务器设置提供了用于配置修改规则的接口,因此,用户可以随时通过该接口配置各个消息类型对应的修改规则,使代理服务器应用该修改规则对拦截到的、客户端与服务器之间的消息进行修改再转发,从而用户可以随时修改整个通信过程任意环节的消息,满足用户随时修改客户端与服务器端之间传输的消息的需要。
需要注意的是,本申请实施例所述请求头拦截修改子单元321、请求体拦截修改子单元322、响应头拦截修改子单元323、响应体拦截修改子单元324在图3中以虚线绘制,以表示这些单元不是本申请实施例公开的消息处理装置的必要单元。
与本申请实施例消息处理方法相对应的,本申请实施例还提供了一种消息处理***。
例如,参见图4,为本申请实施例提供的消息处理***的结构示意图。如图4所示,该***可以包括:
客户端410,可以用于通过代理服务器向服务器发送消息以及通过代理服务器接收所述服务器反馈的消息。提供了用于配置修改规则的接口的代理服务器420,可以用于通过所述接口接收一个或多个消息类型分别对应的修改规则,拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息,向所述客户端或所述服务器返回修改后的消息。代理服务器430,可以用于通过代理服务器接收客户端发送的消息以及通过代理服务器向客户端反馈消息。
由于该***中的代理服务器提供了用于配置修改规则的接口,因此,用户可以随时通过该接口配置各个消息类型对应的修改规则,使代理服务器应 用该修改规则对拦截到的、客户端与服务器之间的消息进行修改再转发,从而用户可以随时修改整个通信过程任意环节的消息,满足用户随时修改客户端与服务器端之间传输的消息的需要。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本发明时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于***实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本发明可用于众多通用或专用的计算***环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器***、基于微处理器的***、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何***或设备的分布式计算环境等等。
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示 这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。

Claims (11)

  1. 一种消息处理方法,应用于代理服务器,其特征在于,所述代理服务器提供了用于配置修改规则的接口,所述方法包括:
    通过所述接口接收一个或多个消息类型分别对应的修改规则;
    拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息;
    向所述客户端或所述服务器返回修改后的消息。
  2. 根据权利要求1所述的方法,其特征在于,所述拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息包括:
    拦截客户端向服务器发出的请求头,应用请求头对应的修改规则对所述请求头进行修改,得到修改后的请求头;
    和/或者,
    拦截客户端向服务器发出的请求体,应用请求体对应的修改规则对所述请求体进行修改,得到修改后的请求体
    其中,所述向所述客户端或所述服务器返回修改后的消息包括:向所述服务器返回至少包含所述修改后的请求头或者所述修改后的请求体的请求消息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息包括:
    拦截服务器向客户端反馈的响应头和状态码,应用响应头对应的修改规则对所述响应头和状态码进行修改,得到修改后的响应头和状态码;
    和/或者,
    拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体进行修改,得到修改后的响应体;
    其中,所述向所述客户端或所述服务器返回修改后的消息包括:向所述客户端返回至少包含所述修改后的响应头和状态码、或者、所述修改后的响应体的响应消息。
  4. 根据权利要求3所述的方法,其特征在于,所述拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体进行修改,得到修改后的响应体包括:
    拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用程序的代码。
  5. 根据权利要求4所述的方法,其特征在于,所述拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用程序的代码包括:
    拦截服务器向所述网页浏览器反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用调试工具的代码。
  6. 一种消息处理装置,应用于代理服务器,其特征在于,所述代理服务器提供了用于配置修改规则的接口,所述装置包括:
    规则接收单元,用于通过所述接口接收一个或多个消息类型分别对应的修改规则;
    拦截修改单元,用于拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息;
    返回单元,用于向所述客户端或所述服务器返回修改后的消息。
  7. 根据权利要求6所述的装置,其特征在于,所述拦截修改单元包括:
    请求头拦截修改子单元,用于拦截客户端向服务器发出的请求头,应用请求头对应的修改规则对所述请求头进行修改,得到修改后的请求头;
    和/或者,
    请求体拦截修改子单元,用于拦截客户端向服务器发出的请求体,应用请求体对应的修改规则对所述请求体进行修改,得到修改后的请求体;
    其中,所述返回单元,用于向所述服务器返回至少包含所述修改后的请求头或者所述修改后的请求体的请求消息。
  8. 根据权利要求6或7所述的装置,其特征在于,所述拦截修改单元包括:
    响应头拦截修改子单元,用于拦截服务器向客户端反馈的响应头和状态码,应用响应头对应的修改规则对所述响应头和状态码进行修改,得到修改 后的响应头和状态码;
    和/或者,
    响应体拦截修改子单元,用于拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体进行修改,得到修改后的响应体;
    其中,所述返回单元,用于向所述客户端返回至少包含所述修改后的响应头和状态码、或者、所述修改后的响应体的响应消息。
  9. 根据权利要求8所述的装置,其特征在于,所述响应体拦截修改子单元,用于拦截服务器向客户端反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用程序的代码。
  10. 跟权利要求9所述的装置,其特征在于,所述响应体拦截修改子单元,用于拦截服务器向所客户端反馈的响应体,应用响应体对应的修改规则对所述响应体注入用于调用调试工具的代码。
  11. 一种消息处理***,其特征在于,包括:
    客户端,用于通过代理服务器向服务器发送消息以及通过代理服务器接收所述服务器反馈的消息;
    提供了用于配置修改规则的接口的代理服务器,用于通过所述接口接收一个或多个消息类型分别对应的修改规则,拦截客户端与服务器之间传递的消息,并应用所述消息所属消息类型对应的修改规则对所述消息进行修改,得到修改后的消息,向所述客户端或所述服务器返回修改后的消息;
    代理服务器,用于通过代理服务器接收客户端发送的消息以及通过代理服务器向客户端反馈消息。
PCT/CN2015/096730 2014-12-16 2015-12-08 一种消息处理方法、装置及*** WO2016095729A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410784651.4A CN105763507A (zh) 2014-12-16 2014-12-16 一种消息处理方法、装置及***
CN201410784651.4 2014-12-16

Publications (1)

Publication Number Publication Date
WO2016095729A1 true WO2016095729A1 (zh) 2016-06-23

Family

ID=56125899

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096730 WO2016095729A1 (zh) 2014-12-16 2015-12-08 一种消息处理方法、装置及***

Country Status (2)

Country Link
CN (1) CN105763507A (zh)
WO (1) WO2016095729A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580224A (zh) * 2019-09-20 2019-12-17 中国银行股份有限公司 一种***测试方法、装置及设备
CN111352610A (zh) * 2020-03-03 2020-06-30 五八有限公司 接口返回值修改方法、装置、电子设备及存储介质
CN113225379A (zh) * 2021-03-31 2021-08-06 北京三快在线科技有限公司 一种http请求消息的发送方法及装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018107387A1 (zh) * 2016-12-14 2018-06-21 深圳前海达闼云端智能科技有限公司 数据传输方法、装置、***、电子设备及计算机程序产品
CN108259520A (zh) * 2016-12-27 2018-07-06 北京国双科技有限公司 一种数据处理方法及服务器
CN109327511B (zh) 2018-09-18 2021-05-28 网宿科技股份有限公司 一种基于http协议的数据请求方法和服务器
CN111858381B (zh) * 2020-07-31 2023-05-16 抖音视界有限公司 应用程序容错能力测试方法、电子设备及介质
CN112711566B (zh) * 2020-12-28 2024-06-21 广州品唯软件有限公司 跨服务Modify数据的共享使用方法、***、设备及存储介质
CN114143386A (zh) * 2021-11-23 2022-03-04 广州三七极创网络科技有限公司 一种基于quic协议的通信方法、***、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061814A1 (en) * 2005-09-13 2007-03-15 Choi Andrew C Method and apparatus for transparently interfacing a computer peripheral with a messaging system
CN101199181A (zh) * 2006-03-23 2008-06-11 喷流数据有限公司 用于先进的https数据处理的基于浏览器插件程序的方法
CN101834880A (zh) * 2009-03-13 2010-09-15 中兴通讯股份有限公司 一种融合地址簿业务实现***和方法
CN101924771A (zh) * 2010-08-26 2010-12-22 北京天融信科技有限公司 一种用于加速应用代理的核心级tcp连接粘合方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061814A1 (en) * 2005-09-13 2007-03-15 Choi Andrew C Method and apparatus for transparently interfacing a computer peripheral with a messaging system
CN101199181A (zh) * 2006-03-23 2008-06-11 喷流数据有限公司 用于先进的https数据处理的基于浏览器插件程序的方法
CN101834880A (zh) * 2009-03-13 2010-09-15 中兴通讯股份有限公司 一种融合地址簿业务实现***和方法
CN101924771A (zh) * 2010-08-26 2010-12-22 北京天融信科技有限公司 一种用于加速应用代理的核心级tcp连接粘合方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580224A (zh) * 2019-09-20 2019-12-17 中国银行股份有限公司 一种***测试方法、装置及设备
CN111352610A (zh) * 2020-03-03 2020-06-30 五八有限公司 接口返回值修改方法、装置、电子设备及存储介质
CN113225379A (zh) * 2021-03-31 2021-08-06 北京三快在线科技有限公司 一种http请求消息的发送方法及装置

Also Published As

Publication number Publication date
CN105763507A (zh) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2016095729A1 (zh) 一种消息处理方法、装置及***
US9043382B2 (en) Stream processing using a client-server architecture
US10567841B2 (en) Information interception processing method, terminal, and computer storage medium
US20170317962A1 (en) Message sending method, apparatus, and system, and server
US10182126B2 (en) Multilevel redirection in a virtual desktop infrastructure environment
JP2019530033A5 (zh)
US9219774B2 (en) Exchange of callback information
KR102208935B1 (ko) 데이터 교환을 위한 컨텍스트를 설정하는 http 프로토콜을 통한 메시징 api
US9769214B2 (en) Providing reliable session initiation protocol (SIP) signaling for web real-time communications (WEBRTC) interactive flows, and related methods, systems, and computer-readable media
US20150281035A1 (en) Monitoring of Node.JS Applications
US20150319221A1 (en) Tracing business transactions based on application frameworks
US10506400B2 (en) Data download method and apparatus
US20170359187A1 (en) Scalable real-time videoconferencing over WebRTC
US9106596B2 (en) Method and apparatus of configuring a data broadcast service
CN111131499A (zh) 并发和异步任务处理方法及其设备
CN113342503B (zh) 实时进度反馈方法、装置、设备及存储介质
TW201818317A (zh) 業務實現方法、支付方法、業務實現裝置及支付服務端
CN110324384B (zh) 数据推送的方法和装置
US11074156B1 (en) Debug adapter to facilitate server-side javascript debugging
US20170142184A1 (en) Native client multimedia redirection
EP2798518B1 (en) Enhanced thread handling in security handshaking
JP2013535736A (ja) 端末管理パッケージを提供する装置及び前記端末管理パッケージを受信する方法
US20190223004A1 (en) Implementation method, apparatus and system for remote access
CN108347471B (zh) 获取第三方用户信息的方法、装置及***
US9774659B2 (en) Bi-directional channel-based progress indicator

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15869237

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15869237

Country of ref document: EP

Kind code of ref document: A1