Service execution method and device

A technology of execution method and target label, applied in the computer field, can solve the problem of not providing the ServiceProvider function, and achieve the effect of improving flexibility

Pending Publication Date: 2019-12-13
政采云有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The service loader (ServiceLoader) provided in Java's native SPI mechanism loads all the implementation classes under the class file path (Classpath). When performing specific

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
  • Service execution method and device
  • Service execution method and device
  • Service execution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0035] Terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only, and are not intended to limit one or more embodiments of this specification. As used in one or more embodiments of this specification and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of the present sp...

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 service execution method and device. The service execution method comprises: acquiring target label information and pre-stored mapping relation information; matching a targetclass object corresponding to the target label information based on the target label information and the mapping relationship information; and under the condition that the target class object is matched, executing the service provided by the target class object. According to the service execution method and device provided by the invention, the specific class object is selected in a label matchingmode, and the service provided by the class object is executed, so that the class object is dynamically selected according to actual requirements, and the flexibility of service execution is greatlyimproved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method and device for executing a service, a computing device, and a computer-readable storage medium. Background technique [0002] Java is a widely used computer programming language with the characteristics of cross-platform, object-oriented, and generic programming. It is widely used in enterprise-level web application development and mobile application development. [0003] The service provider interface (Service provider interface, SPI) is a service loading method provided by Java. Among them, a service (Service) usually refers to a known interface or abstract class, and a service provider (ServiceProvider) is an implementation class for this interface or abstract class. [0004] The service loader (ServiceLoader) provided in Java's native SPI mechanism loads all the implementation classes under the class file path (Classpath). When performing specific Se...

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): G06F9/448G06F9/445G06F8/30
CPCG06F9/4488G06F9/44505G06F8/315
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