Method and device for realizing code base conversion SDK based on srp

A code library and code technology, applied in the computer field, can solve problems such as inability to rely on, fail to meet the functional requirements of the caller, and achieve the effect of meeting functional requirements

Active Publication Date: 2021-02-02
BEIJING 58 INFORMATION TTECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the above-mentioned different code libraries are extracted into independent SDKs, each SDK cannot depend on any other code library, and the caller needs the SDK to provide the above functions, so the functional requirements of the caller cannot be met

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 and device for realizing code base conversion SDK based on srp
  • Method and device for realizing code base conversion SDK based on srp
  • Method and device for realizing code base conversion SDK based on srp

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0035] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequence...

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 present invention provides a method and device for realizing code library conversion SDK based on SRP, by obtaining the functional requirement items of the software development tool kit SDK, the functional requirement items include at least two functional items; the target code library is determined according to the functional requirement items of the SDK and at least one dependent code library; migrate the code in at least one dependent code library to the target code library; extract the code corresponding to the functional requirements of the integrated SDK from the target code library according to the single responsibility principle SRP; according to the extracted and integrated The code generation SDK corresponding to the functional requirement items of the SDK, based on SRP, extracts and integrates the code in the code library that cannot realize the function into a target code library to generate the SDK; it can generate SDKs with different function combinations according to actual needs, thus, Meet the functional requirements of the caller.

Description

technical field [0001] The present invention relates to computer technology, and in particular to a method and device for implementing a code base conversion software development kit (Software Developmenti Kit, SDK for short) based on the Single Responsibility Principle (SRP for short). Background technique [0002] With the rapid development of computer technology, many projects are composed of several code bases, and these code bases have different degrees of dependence. For example, the login code base usually does not need to access cookies, locate and jump to the web Pages and other functional support. If you want to use these functions, you need to rely on the cookie access function of the general code library, the location function of the location code library, and the web page jump function of the network library. [0003] However, when the above-mentioned different code libraries are extracted into independent SDKs, each SDK cannot depend on any other code library,...

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 Patents(China)
IPC IPC(8): G06F8/36G06F8/40
CPCG06F8/36G06F8/40
Inventor 胡昊
Owner BEIJING 58 INFORMATION TTECH 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