Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for realizing module access by reverse program

A program and access module technology, applied in the field of reverse program implementation module access, can solve the problems of high access cost, many versions of application source code, and multiple redundant files, so as to reduce useless redundant files and reduce errors. The effect of code generation and development cost reduction

Active Publication Date: 2019-12-06
SHENGQU INFORMATION TECH SHANGHAI
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The developer implements one-to-one access to the access module by copying multiple application codes. This method leads to too many versions of the application source code, making it difficult to maintain the application. At the same time, when there are many application products, the access cost High, it is difficult to update the access modules in batches when the access modules are updated;
[0005] 2. Develop the access of various access modules in an application source code, and start using an access method according to the configuration. This method leads to too many redundant files in the released program. At the same time, when the application product In many cases, the access cost is high, and it is difficult to update the access modules in batches when the access modules are updated

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 system for realizing module access by reverse program
  • Method and system for realizing module access by reverse program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] Such as figure 1 As shown, the present invention provides a method for reverse programming to realize module access, including:

[0054] Step S1, the target interface program A01' achieves function access according to B01 to obtain the target interface program A01, wherein, B01 is a pre-defined interface file; here, B01 can be a separate interface file, and the advantage of using B01+ C01 replacement only needs to replace B01 instead of C01, which reduces the scope of replacement operations, reduces the complexity of replacement, and makes the replacement process more convenient;

[0055] Step S2, the access module C02 implements function adaptation according to the interface B01, and generates a new interface file B02 corresponding to the access module C02, and obtains the access module C02' including the interface file B02, wherein C02 is an access source The adaptation module of the program;

[0056] Step S3, the reverse module F02 reverses the target interface pro...

Embodiment 2

[0079] The present invention also provides another system for realizing module access through reverse programming, including:

[0080] The target interface program A01' is used to achieve functional access according to B01 to obtain the target interface program A01, wherein B01 is a pre-defined interface file;

[0081] The access module C02 is used to implement function adaptation according to the interface B01, and generate a new interface file B02 corresponding to the access module C02, and obtain the access module C02' containing the interface file B02, wherein C02 is an access source The adaptation module of the program;

[0082] The reverse module F02 is used to reverse the target interface program A01 and extract B01 from the reverse result;

[0083] The replacement module is used to use the access module C02' containing the interface file B02 to replace the B01 extracted in the reverse result to obtain A02';

[0084] The compiling module G02 is used for forward compil...

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 and system for realizing module access of reverse program. A02' is obtained by replacing B01 extracted from a reverse result by an access module C02' comprising an interface file B02; a compiling module G02 performs positive compiling on the A02' to generate to a novel target interface program A02. The method and the system has the advantages that the software development can be realized only through once access of a base board module; when an application program is accessed into an access module of the base board, access modules of other sources can be matched through B01 accessing; the access work is automatically generated and completed in the subsequent work; the operation can be completed by operation and maintenance personnel; the development intervention is not needed; the development cost is reduced; the generation of wrong code is reduced; meanwhile, the use is simple; the operation is convenient. In addition, the effect of generating a program pack according to requirements can be achieved; the functions of the access modules in different sources are similar, so that when the access modules from the same sources occur at the same time, the resource conflict can possibly occur; the access modules from different sources cannot occur in the same installation package, and the subsequently generated resource conflict is avoided; meanwhile, useless redundant files are reduced.

Description

technical field [0001] The invention relates to a method and system for realizing module access by reverse program. Background technique [0002] At present, in Internet companies, a company usually has many application products, and these products need to access some program modules developed by different internal departments or external program modules. These program modules have similar functions. Multiple functional modules with similar functions generate different running program packages or installation packages according to the source of the access function modules. For example, the authentication module and payment module of different channels are connected to the android program, and APK installation packages of different channels are generated for publishing in the respective channels. [0003] The commonly used solutions to the problem are as follows: [0004] 1. The developer implements one-to-one access to the access module by copying multiple application code...

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): G06F9/445
CPCG06F9/44505
Inventor 刘子茂
Owner SHENGQU INFORMATION TECH SHANGHAI
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More