CN107920075A - A kind of system of data processing - Google Patents

A kind of system of data processing Download PDF

Info

Publication number
CN107920075A
CN107920075A CN201711146786.8A CN201711146786A CN107920075A CN 107920075 A CN107920075 A CN 107920075A CN 201711146786 A CN201711146786 A CN 201711146786A CN 107920075 A CN107920075 A CN 107920075A
Authority
CN
China
Prior art keywords
client
server
handle
kernel
netty
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
CN201711146786.8A
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.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201711146786.8A priority Critical patent/CN107920075A/en
Publication of CN107920075A publication Critical patent/CN107920075A/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]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web 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/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Abstract

The embodiment of the invention discloses a kind of system of data processing, the system comprises:Client, server, long-range kernel and local kernel;The client, calls client handle;Execution passes a parameter;And local kernel is called to send internet message;The internet message is transmitted to distance host;The server, obtains the internet message by the server handle and obtains parameter;Perform remote process;And implementing result is returned into server handle;The server handle returns to the implementing result as a result, calling remote system kernel;The long-range kernel, passes the internet message back the local kernel;The local kernel, receives client handle, and receives the data that the client handle returns;So as to realize the purpose of data balancing by RPC.

Description

A kind of system of data processing
Technical field
The present embodiments relate to the field of computer network, more particularly to a kind of system of data processing.
Background technology
File content is read using traditional I/O programs, and is written to another file (or Socket), following program: File.read (fileDesc, buf, len);Socket.send (socket, buf, len).
Larger performance cost is had, is mainly manifested in two aspect:
1st, context switching (context switch), there is the switching of 4 User spaces and kernel state herein;
2nd, Buffer memory overheads, one is application program buffer, the other is system read buffer and socket buffer。
The content of the invention
The purpose of the embodiment of the present invention is to propose a kind of system of data processing, it is intended to how solves when server-side " is hung " after, the use of former frame has resulted in single-point barrier.
For this purpose, the embodiment of the present invention uses following technical scheme:
A kind of system of data processing, the system comprises:Client, server, long-range kernel and local kernel;
The client, calls client handle;Execution passes a parameter;And local kernel is called to send internet message;Will The internet message is transmitted to distance host;
The server, obtains the internet message by the server handle and obtains parameter;Perform remote process; And implementing result is returned into server handle;The server handle returns to the implementing result as a result, calling in remote system Core;
The long-range kernel, passes the internet message back the local kernel;
The local kernel, receives client handle, and receives the data that the client handle returns.
Alternatively, when netty realizes RPC, the client realizes proxy class, and the visitor is realized by the proxy class The operation of family end is local;The client of netty is realized in the proxy class, the class details of the client call is encapsulated into In request;Packaged request is sent to server ends;Receive that the server ends return as a result, passing through agency The result is returned into the client.
Alternatively, when netty realizes RPC, the server realizes the server end of netty, receives netty clients The physical interface information of transmission;By radiation pattern, the interface method locally realized is transferred, obtains return value;By the return Value is sent to the netty clients.
Alternatively, when netty realizes RPC, sample server start the server, realize the method for interface with And processing business.
Alternatively, when netty realizes RPC, sample application programs create the object of the proxy class, return to interface pair As;The method of calling interface;Handle return value.
Alternatively, the system comprises:Common, the common are used to encode, decode;The parameter of calling interface;Adjust With the return value of interface.
Alternatively, the system comprises:Rpc sample client, the method in Processing Interface.
A kind of system of data processing provided in an embodiment of the present invention, the system comprises:It is client, server, long-range Kernel and local kernel;The client, calls client handle;Execution passes a parameter;And local kernel is called to send network Message;The internet message is transmitted to distance host;The server, obtains the network by the server handle and disappears Cease and obtain parameter;Perform remote process;And implementing result is returned into server handle;The server handle is held described in returning Row result is as a result, call remote system kernel;The long-range kernel, passes the internet message back the local kernel;It is described Local kernel, receives client handle, and receives the data that the client handle returns;So as to realize data balancing by RPC Purpose.
Brief description of the drawings
Fig. 1 is a kind of structure diagram of the system of data processing provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this Locate described specific embodiment to be used only for explaining the embodiment of the present invention, rather than the restriction to the embodiment of the present invention.In addition also It should be noted that for the ease of describing, part relevant with the embodiment of the present invention rather than entire infrastructure are illustrate only in attached drawing.
With reference to figure 1, Fig. 1 is a kind of structure diagram of the system of data processing provided in an embodiment of the present invention.Such as Fig. 1 institutes Show, the system of the data processing includes:
Client 110, server 120, long-range kernel 130 and local kernel 140;
The client 110, calls client handle;Execution passes a parameter;And local kernel is called to send internet message; The internet message is transmitted to distance host;
Wherein, when netty realizes RPC, the client 110 realizes proxy class, by described in proxy class realization Client operation is local;The client of netty is realized in the proxy class, the class details of the client call is encapsulated into In request;Packaged request is sent to server ends;Receive that the server ends return as a result, passing through agency The result is returned into the client.
The server 120, obtains the internet message by the server handle and obtains parameter;Perform long-range mistake Journey;And implementing result is returned into server handle;The server handle returns to the implementing result as a result, calling remote system Kernel;
Wherein, when netty realizes RPC, the server 120 realizes the server end of netty, receives netty client Hold the physical interface information sent;By radiation pattern, the interface method locally realized is transferred, obtains return value;Returned described Return value and be sent to the netty clients.
Wherein, when netty realizes RPC, sample server start the server, realize interface method and Processing business.
The long-range kernel 130, passes the internet message back the local kernel;
Wherein, when netty realizes RPC, sample application programs create the object of the proxy class, return to interface pair As;The method of calling interface;Handle return value.
The local kernel 140, receives client handle, and receives the data that the client handle returns.
Wherein, the system comprises:Common, the common are used to encode, decode;The parameter of calling interface;Call The return value of interface.
Wherein, the system comprises:Rpc sample client, the method in Processing Interface.
A kind of system of data processing provided in an embodiment of the present invention, the system comprises:It is client, server, long-range Kernel and local kernel;The client, calls client handle;Execution passes a parameter;And local kernel is called to send network Message;The internet message is transmitted to distance host;The server, obtains the network by the server handle and disappears Cease and obtain parameter;Perform remote process;And implementing result is returned into server handle;The server handle is held described in returning Row result is as a result, call remote system kernel;The long-range kernel, passes the internet message back the local kernel;It is described Local kernel, receives client handle, and receives the data that the client handle returns;So as to realize data balancing by RPC Purpose.
Above in association with the technical principle of specific embodiment the invention has been described embodiment.These descriptions are intended merely to explain this The principle of inventive embodiments, and the limitation to protection domain of the embodiment of the present invention cannot be construed in any way.Based on herein Explanation, those skilled in the art, which would not require any inventive effort, can associate the other specific of the embodiment of the present invention Embodiment, these modes are fallen within the protection domain of the embodiment of the present invention.

Claims (7)

  1. A kind of 1. system of data processing, it is characterised in that the system comprises:Client, server, long-range kernel and local Kernel;
    The client, calls client handle;Execution passes a parameter;And local kernel is called to send internet message;By described in Internet message is transmitted to distance host;
    The server, obtains the internet message by the server handle and obtains parameter;Perform remote process;And will Implementing result returns to server handle;The server handle returns to the implementing result as a result, calling remote system kernel;
    The long-range kernel, passes the internet message back the local kernel;
    The local kernel, receives client handle, and receives the data that the client handle returns.
  2. 2. system according to claim 1, it is characterised in that when netty realizes RPC, the client realizes agency Class, realizes that the client operation is local by the proxy class;The client of netty is realized in the proxy class, by institute The class details for stating client call is encapsulated into request;Packaged request is sent to server ends;Described in reception It is that server ends return as a result, the result is returned to the client by acting on behalf of.
  3. 3. system according to claim 1, it is characterised in that when netty realizes RPC, the server realizes netty Server end, receive the physical interface information that netty clients are sent;By radiation pattern, the interface locally realized is transferred Method, obtains return value;The return value is sent to the netty clients.
  4. 4. system according to claim 1, it is characterised in that when netty realizes RPC, sample server start institute Server is stated, realizes the method and processing business of interface.
  5. 5. system according to claim 1, it is characterised in that when netty realizes RPC, sample application programs create The object of the proxy class, returns to interface object;The method of calling interface;Handle return value.
  6. 6. system according to any one of claims 1 to 5, it is characterised in that the system comprises:Common, it is described Common is used to encode, decode;The parameter of calling interface;The return value of calling interface.
  7. 7. system according to any one of claims 1 to 5, it is characterised in that the system comprises:rpc sample Client, the method in Processing Interface.
CN201711146786.8A 2017-11-17 2017-11-17 A kind of system of data processing Pending CN107920075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711146786.8A CN107920075A (en) 2017-11-17 2017-11-17 A kind of system of data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711146786.8A CN107920075A (en) 2017-11-17 2017-11-17 A kind of system of data processing

Publications (1)

Publication Number Publication Date
CN107920075A true CN107920075A (en) 2018-04-17

Family

ID=61897399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711146786.8A Pending CN107920075A (en) 2017-11-17 2017-11-17 A kind of system of data processing

Country Status (1)

Country Link
CN (1) CN107920075A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597061A (en) * 2020-05-25 2020-08-28 瑞斯康达科技发展股份有限公司 Method and device for remote procedure call of client or server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764843A (en) * 2009-12-28 2010-06-30 福建星网锐捷网络有限公司 Processing method and system for remote process call, client end and server
CN102546612A (en) * 2011-12-23 2012-07-04 华中科技大学 Remote procedure call implementation method based on remote direct memory access (RDMA) protocol in user mode
CN103095785A (en) * 2011-11-08 2013-05-08 阿里巴巴集团控股有限公司 Remote procedure call method and system, client and server
CN104236579A (en) * 2014-10-09 2014-12-24 武汉大学 High-precision satellite navigation implementing method based on Android kernel layer
CN106453250A (en) * 2016-09-05 2017-02-22 掌阅科技股份有限公司 Processing method of big data RPC (Remote Procedure Call Protocol)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764843A (en) * 2009-12-28 2010-06-30 福建星网锐捷网络有限公司 Processing method and system for remote process call, client end and server
CN103095785A (en) * 2011-11-08 2013-05-08 阿里巴巴集团控股有限公司 Remote procedure call method and system, client and server
CN102546612A (en) * 2011-12-23 2012-07-04 华中科技大学 Remote procedure call implementation method based on remote direct memory access (RDMA) protocol in user mode
CN104236579A (en) * 2014-10-09 2014-12-24 武汉大学 High-precision satellite navigation implementing method based on Android kernel layer
CN106453250A (en) * 2016-09-05 2017-02-22 掌阅科技股份有限公司 Processing method of big data RPC (Remote Procedure Call Protocol)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597061A (en) * 2020-05-25 2020-08-28 瑞斯康达科技发展股份有限公司 Method and device for remote procedure call of client or server
CN111597061B (en) * 2020-05-25 2023-11-17 瑞斯康达科技发展股份有限公司 Method and device for remote procedure call by client or server

Similar Documents

Publication Publication Date Title
US11017506B2 (en) Video enhancement using a generator with filters of generative adversarial network
JP2014534492A5 (en)
CN102546612B (en) Remote procedure call implementation method based on remote direct memory access (RDMA) protocol in user mode
US9350763B1 (en) HTTP tunnelling over websockets
JP5795849B2 (en) Remote UI service providing method and apparatus
US20080301566A1 (en) Bitmap-Based Display Remoting
JP2007200311A (en) Method and system for caching web service request and computer program (caching of web service request)
CN103516762B (en) Virtual desktop generation method, equipment and system
JP5236581B2 (en) Transmitting apparatus, control method therefor, program, and information processing system
US11210769B2 (en) Video enhancement using a recurrent image date of a neural network
US11741582B1 (en) Video enhancement using a neural network
WO2017174026A1 (en) Client connection method and system
US20200374281A1 (en) Secure web application delivery platform
US20130227004A1 (en) Methods for optimizing a web content proxy server and devices thereof
CN103885973B (en) A kind of RPC system and implementation method based on Web engines
JP4554723B2 (en) Managing network response buffering behavior
CN105872090B (en) Http communication method based on extended mode code
WO2015164146A1 (en) Proxy for modifying http messages to comply with browser
EP2787454A1 (en) Methods for optimizing a web content proxy server and devices thereof
CN107920075A (en) A kind of system of data processing
US9614900B1 (en) Multi-process architecture for a split browser
US20210227276A1 (en) Video enhancement service
CN108628550B (en) Method, device and system for reading disk mapping file
US20160092037A1 (en) Computer-Implemented Methods, Computer Readable Media, And Systems For Distributed Processing
KR20190069284A (en) Method of converting and interworking ocf resourse of internet service, and an apparatus performing the same

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180417