High-performance remote process calling method based on PHP

A technology of remote procedure call and remote call, applied in the field of high-performance remote procedure call based on PHP, can solve the problem of not being fully realized, and achieve the effect of convenient control and convenient debugging

Inactive Publication Date: 2018-08-17
上海国烨跨境电子商务有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

COM+ technology and .NET's Remoting and WCF technologies are only suitable for use on the Windows platform and can only use microsoftware VB, C# and other technology stacks. Java EJB technology only supports Java language development, and implementation requires a lazy Java virtual machine Java Virtual Machine i.e. JVM support
And above-mentioned prior art all can not fully realize following demand:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-performance remote process calling method based on PHP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.

[0033] Such as figure 1 As shown, the present invention proposes a remote procedure call method based on a PHP technology stack, and the framework is used in a network system including a server and a client. The server end is composed of software and hardware for realizing service functions. The client is composed of software and hardware for realizing client functions. The client establishes a link with the server by using the HTTP protocol based on the hypertext transfer protocol. The method comprises the steps of:

[0034] Such as figure 1 As shown in step 104, the server marks the classes and methods that need to be exposed to the client as remote process methods. The classes need to inherit the GyRpc class, and the methods need to end w...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a high-performance remote process calling method based on PHP. The method comprises the following steps: realizing the data interaction between an entry parameter and an exit parameter of a remote method by means of an HTTP. Therefore, local PHP remote process calling RPC or PHP remote process calling RPC based on enterprise internal network INTRANET or Internet INTERNET can be achieved. The remote method calling is achieved by the JSON+HTTP technology under a PHP technology stack, and the high-performance remote process calling method can be applied to the remote calling middleware under the architecture of SOA, micro service and the like based on the PHP technology. By adoption of the method disclosed by the invention, a client can call a remote PHP method function just like calling a local method just by importing a few PHP framework files, the serialization, remote communication and proxy details of the data are invisible to a user and are used out of the box. The high-performance remote process calling method has the advantages of being simple to guarantee, easy to use, lightweight, safe, and high-performance.

Description

Technical field: [0001] The present invention relates to the serialization and deserialization of data objects, the process call method based on the network, in particular to the remote procedure call (RPC) method based on the HTTP protocol. Background technique: [0002] Among the existing technologies, the representative remote procedure call RPC implementation mechanism includes Microsoft's Component Object Model+ technology, that is, COM+ technology, Microsoft .NET platform's Remoting and WCF technology, and the common object request broker architecture Common Object Request Broker Architecture technology is CORBA technology, and enterprise-level software component model Enterprise Java Beans technology is Java EJB technology. COM+ technology and .NET's Remoting and WCF technologies are only suitable for use under the Windows platform and can only use microsoft VB, C# and other technology stacks. Java EJB technology only supports Java language development, and implementa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/02H04L67/34H04L67/51H04L67/01
Inventor 杨春来
Owner 上海国烨跨境电子商务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products