Method, device, and system for exposing http service for dubbo distributed application

A distributed application and service method technology, which is applied in the field of exposing http services for dubbo distributed applications, can solve problems such as cumbersome operations, and achieve the effect of reducing maintenance costs and writing workload

Active Publication Date: 2018-06-01
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the present invention is to provide a method, device and system for exposing http services for dubbo distributed applications, so as to alleviate the cumbersome operation of web applications existing in the prior art when exposing their dubbo services to the outside. technical problem

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
  • Method, device, and system for exposing http service for dubbo distributed application
  • Method, device, and system for exposing http service for dubbo distributed application
  • Method, device, and system for exposing http service for dubbo distributed application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] According to an embodiment of the present invention, an embodiment of a method for exposing http services for dubbo distributed applications is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be performed on a computer such as a set of computer-executable instructions system, and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0026] figure 1 It is a flowchart of a method for exposing http services for dubbo distributed applications according to an embodiment of the present invention, which is applied to calling system SOP, such as figure 1 As shown, the method includes the following steps:

[0027] Step S102, obtain the http request sent by the terminal, wherein the http request is a request to call a target service method, the target service method is a method corresponding to the target sy...

Embodiment 2

[0063]The embodiment of the present invention also provides a device for exposing http services for dubbo distributed applications. The device for exposing http services for dubbo distributed applications is mainly used to implement the method for exposing dubbo distributed applications provided by the above content of the embodiments of the present invention. For the method of http service, the device for exposing http service for the dubbo distributed application provided by the embodiment of the present invention will be specifically introduced below.

[0064] image 3 is a schematic diagram of a device for exposing http services for dubbo distributed applications according to an embodiment of the present invention, such as image 3 As shown, the device for exposing http services for dubbo distributed applications mainly includes an acquisition unit 10, a parsing search unit 20 and a return unit 30, wherein:

[0065] The obtaining unit 10 is configured to obtain an http re...

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 method, device, and system for exposing an http service for a dubbo distributed application, and relates to the technical field of computers. The method includes: obtaining anhttp request sent by a terminal, wherein the http request is a request for calling a target service method, the target service method is a method corresponding to a target system application, and thetarget system application is an application in a plurality of system application registered in zookeeper in advance; analyzing the http request into a preset request template, and the searching for aclient corresponding to the target service method in the dubbo application system; and returning the target service method to the terminal through the preset request template. The method, device, andsystem alleviate a technical problem in the prior art that it is relatively complicated in operation when the web application exposes its dubbo service.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to a method, device and system for exposing http services for dubbo distributed applications. Background technique [0002] At present, with the development of the Internet, the scale of website applications continues to expand, and distributed applications based on dubbo are also emerging. However, such web applications can only expose their own dubbo services to the outside world, and callers can only request services through dubbo services. When it comes to remote scheduling, usually in order to support http service calls, a complete set of services that support http calls will be rewritten for the service module, which not only increases labor costs, but also brings challenges to system maintenance. [0003] In the prior art, the exposed services of an application system built by dubbo can only be exposed to other client calls through the dubbo protocol. In order to su...

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
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/02H04L67/133H04L67/60
Inventor 唐寅范渊
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
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