Real-time communication method, proxy device, client and server
The invention provides a real-time communication method, an agent device, a client side and a server side, belongs to the technical field of computers, and can solve the problem that a plurality of technologies and tools are needed for integration and cooperation during real-time communication betwe...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a real-time communication method, an agent device, a client side and a server side, belongs to the technical field of computers, and can solve the problem that a plurality of technologies and tools are needed for integration and cooperation during real-time communication between the client side and the server side in the prior art. The real-time communication method disclosed by the invention can be applied to an agent side, and comprises the following steps: acquiring a client side message based on a WebSocket protocol, the client side message being a first statement; the client message is processed, a code segment is generated, and the code segment is a second statement; and sending the code segment to a server for operation, receiving an operation result of the server, and sending the operation result to the client.
本公开提供一种实时通信方法、代理装置、客户端及服务器端,属于计算机技术领域,其可解决现有的客户端与服务器端实时通信时需要多个技术和工具进行整合和协作的问题。本公开的实时通信方法,可应用于代理端,包括基于WebSocket协议获取客户端消息,所述客户端消息为第一语句;对所述客户端消息进行处理,并生成代码段,所述代码段为第二语句;将所述代码段 |
---|