Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

WEB side remote invoking optimizing method and system

A technology of remote calling and threading, applied in transmission systems, inter-program communication, multi-programming devices, etc., can solve problems such as time-consuming, and achieve the effect of solving time-consuming and improving efficiency

Inactive Publication Date: 2016-06-29
RETURNSTAR INTERACTIVE TECH GRP
View PDF10 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] One of the technical problems to be solved by the present invention is to provide a method for optimizing remote calls on the WEB side, which solves the time-consuming problem caused by thread waiting, thereby improving the efficiency of service access

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
  • WEB side remote invoking optimizing method and system
  • WEB side remote invoking optimizing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the present invention more comprehensible, a preferred embodiment is now described in detail with accompanying drawings as follows.

[0034] like figure 1 and figure 2 As shown, a kind of WEB end remote call optimization method of the present invention comprises the following steps:

[0035] Step 1. Configure the registration center, server and client. The specific configuration of the server is: create a service project in the server, develop and publish the implementation class and interface of the service, and use the xml configuration file, which includes the release service The implementation class of the service, the interface of publishing the service, the transmission protocol, the serialization method, and the address of the registration center; the specific configuration of the client is: create a client project in the client, import the package of the service interface, develop and call the service interface class according to the package, ...

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 provides a WEB side remote invoking optimizing method. The method comprises following steps of 1, configuring and starting a registering center, a server and a client; 2, registering a service name in the registering center by the server; 3, subscribing the service name in the registering center by the client; 4, initiating a thread by the client so as to send request data to the server; serializing the sent request data and converting the request data into streams by the client; transmitting the request data to the server through a transmission protocol; 5, after the server receives the request data, deserializing and converting the request data into an object; then invoking corresponding service processing request data; informing the client; moreover, serializing a processing result and converting the processing result into streams; transmitting the processing result to the client; 6, after the client receives the processing result, deserializing and converting the processing result into an object; and executing a callback function, thus obtaining the processing result. The invention also provides a WEB side remote invoking optimizing device. According to the method and the device, the problem of time consumption resulting from thread wait is solved; and the service access efficiency is improved.

Description

technical field [0001] The invention relates to the field of remote calling at the WEB end, in particular to a method and system for optimizing remote calling at the WEB end. Background technique [0002] In recent years, with the rapid development of the Internet, the scale of website applications has continued to expand, and the business volume has also continued to increase. Distributed systems have become the choice of most enterprises. In the process of distributed system development, data calls between different businesses are becoming more and more frequent, so there is a way of remote calling to realize communication between cross-platform and cross-language services. In the process of realizing the remote call, there will be a problem that the client thread has been waiting for the server to return the processing result, thus affecting the performance of the server. Contents of the invention [0003] One of the technical problems to be solved by the present inven...

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/06G06F9/54
CPCG06F9/547H04L67/133
Inventor 丁万年洪文洁陈日良谢伟杰
Owner RETURNSTAR INTERACTIVE TECH GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products