Back-end application calling method and device, computer equipment and readable storage medium

A technology of application name and application startup, which is applied in the field of Internet of Things, can solve the problems such as the inability to automatically perceive changes in back-end services, and achieve the effect of concise and easy-to-understand goals and advantages

Active Publication Date: 2021-06-04
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of this application provides a back-end application calling method, device, computer equipment and readable storage

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
  • Back-end application calling method and device, computer equipment and readable storage medium
  • Back-end application calling method and device, computer equipment and readable storage medium
  • Back-end application calling method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056]In order to make the purpose, technical solutions and advantages of the application clearer, the application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0057] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. In addition, it can also be understood that although such development efforts may be complex and lengthy, for those of ordinary skill in the art rel...

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 relates to a back-end application calling method and device, computer equipment and a readable storage medium, and the method comprises the steps that when a back-end application is started, a third-party component writes a mapping relation between the back-end application and a url into a database, wherein the back-end application is accessed to the third-party component, and the third-party component specifies the url corresponding to the metadata of the back-end application in an annotation form; receiving an http request of a user, and analyzing the http request to obtain a url in the http request; performing path matching according to the url of the http request, and performing matching in a database to obtain metadata of a back-end application corresponding to the url; according to the metadata of the back-end application, carrying out dubbo calling; and after the return value called by the dubbo is returned, converting the return value into the return value of the http request through reflection according to the information of the return value in the metadata. The whole process does not need any manual configuration, and the problems that back-end service changes cannot be automatically sensed and the gateway generalization calls metadata acquisition are solved.

Description

technical field [0001] The present application relates to the technical field of the Internet of Things, and in particular to a back-end application calling method, device, computer equipment and readable storage medium. Background technique [0002] Front-end services are used to process client requests. In traditional computer systems, client requests are implemented hierarchically, and the front-end processes user interaction requests. Front-end services generally run in terminal software such as browsers or application software. When the front-end communicates with the back-end, the front-end will initiate a request to the back-end through the gateway. The implementation of this request is generally served directly by the backend. [0003] The existing technology is mainly to let the gateway perceive the existence of the back-end dubbo provider through the user going to the management console to manually input the zookeeper address. The back-end service provider needs...

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): G06F16/955G06F16/957
CPCG06F16/955G06F16/9577
Inventor 王文学
Owner HANGZHOU TUYA 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