WebService service calling method

A service call and server-side technology, applied in the field of Web Service communication, can solve problems such as increasing the server-side system load, missing business opportunities, and uncontrollable call resource allocation, so as to avoid uncontrollable resource utilization, reduce call load, and resource allocation. balanced effect

Active Publication Date: 2012-01-18
NEW SINGULARITY INT TECHN DEV
View PDF3 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the improvement of the calling efficiency of the client has brought greater work pressure to the server, because the Web Service interface of the server is completely open, and there is no restriction on the calling frequency of the client, but the server carries the Web Service interface call The ability of the server is limited, so there are often two problems: first, if one or several clients connected to the server have a large number of threads and a high frequency of calls, it is easy to make the Web Service interface of the server It is almost "monopoly" called by this one or several clients, which may cause other clients with low calling frequency to call the Web Service interface instead of a long delay or even no response; secondly, the server may be due to processing Other transactions occupy its own system resources. When the occupancy rate of server-side system resources is already high, the computing and processing capabilities of the server will decrease, thereby reducing the ability to carry Web Service interface calls. If some clients are still high-frequency Calling the Web Service interface further increases the system load on the server, and the delay and non-response of calling the Web Service interface will be more serious
The above two problems make the resource allocation of the server-side Web Service interface in an uncontrollable state, which brings difficulties to the resource management and maintenance of the server; at the same time, the acquisition of the Web Service service does not respond, and for some applications of the Web Service Service result data is not allowed for client platforms that provide timely services (for example, for client platforms that obtain business data for analysis, the Web Service service for obtaining business data does not respond, which may lead to analysis failure and missed business opportunities; Or, for the client platform that uses business data to provide users with online business services, the Web Service service that obtains business data does not respond, which will reduce the user experience and cause the loss of customer resources; etc.)

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
  • WebService service calling method
  • WebService service calling method
  • WebService service calling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0030] In this embodiment, a simple Web Service network system is taken as an example to illustrate the Web Service service calling method of the present invention. Such as figure 1 As shown, in the Web Service network system, the server that provides Web Service services is a Web Service server, and the Web Service server receives calls from six different clients in the network to its Web Service interface. These are business platform servers that provide new business services externally by applying the Web Service service result data, which are business platform servers A~F, and the six clients all call the Web Service interface in a multi-threaded manner.

[0031] Since the processing capacity of the Web Service server is limited, it is assumed that the Web Service server can carry 10K Web Service interface calls per second under normal operating efficiency, and K is a positive integer; if the existing Web Service service calling method is used, if the business platform Se...

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 WebService service calling method. In the method, the upper limit for calling per second for each client end is agreed on between a server end and each client end for which the server end provides WebService services, each client end is provided with a plurality of calling threads to call WebService interfaces to obtain data on WebService service results from the server end, and the calling threads are limited to call the upper frequency of the WebService interfaces according to the upper calling limit times per second. Therefore, the condition that single client ends call the WebService interfaces without limitations to use a large quantity of resources of the server end so as to cause low operating efficiency of the server end can be effectively prevented, the distribution of the resources of the server end can be more balanced and reasonable and can be reasonably planned and managed, uncontrollable utilization of the resources can be avoided, and maintenance can be greatly facilitated.

Description

technical field [0001] The invention relates to the technical field of Web Service communication, in particular to a method for invoking a Web Service service. [0002] Background technique [0003] Web Service is a programmable application component that can be accessed through the Web protocol, enabling information between isolated sites to communicate with each other, share, and provide data services. Web Service uses a unified and open standard protocol on the Internet (such as HTTP, XML, SOAP, WSDL, UDDI, etc.), so Web Service can be used in any system platform that supports these standards (such as Windows, Linux, Unix, etc.) It can be used and can eliminate the differences between heterogeneous systems using different component models, operating systems and programming languages, so that heterogeneous systems can cooperate with each other to form a single computer network and work together. Because of this, Web Service has good openness, versatility and high integra...

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/08
Inventor 姚江虹雷镜涛
Owner NEW SINGULARITY INT TECHN DEV
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