Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Business implementation method and system based on basic function and logic function separation

A technology with logical functions and implementation methods, applied in the network field, which can solve problems such as difficulty in meeting business requirements, difficulty in reading, and impact on the normal operation of the platform

Pending Publication Date: 2021-07-06
南京始云网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This implementation method has the following problems: 1. Directly implementing the business in the background will require the development of many interfaces in the background to achieve business requirements, and because different developers use different development languages, technical architectures, and writing specifications, it is difficult to maintain the code for business implementation. difficult, even difficult to read
2. Putting the business logic function completely in the background will increase the bugs in the background, and the bugs in the background will have a great impact on the normal operation of the platform, and the user experience is not good
3. In addition, the business logic function is implemented in the background. If you want to expand or upgrade the business function, you must operate in the background, which makes the development or upgrade time-consuming, and the upgrade and maintenance costs are high.
In addition, there are also some highly integrated platforms in the existing technology, and users can meet some simple business needs through function configuration. However, such development platforms are limited by the functions provided by the platform itself, and the scalability is poor. meet specific business needs

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
  • Business implementation method and system based on basic function and logic function separation
  • Business implementation method and system based on basic function and logic function separation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.

[0026] A business implementation method based on the separation of basic and logical functions disclosed in the embodiment of the present invention adopts the concept of separating basic functions and logical functions. The logical functions are realized by dynamically executing JavaScript codes in the background, and the basic functions are called in the logical functions. Realize complex business functions. Online code editing and debugging of logic functions, and basic functions adopt the method of uploading microservices to the server.

[0027] like figure 1 As shown, the secondary development user edits the code to implement a specific business logic function on the page. The code corresponds to a logical function ID. After editing, this code will be executed in the background.

[0028] Specifica...

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 discloses a business implementation method and system based on basic and logic function separation, and the method comprises the steps: receiving an incoming logic function identifier ID, and obtaining a pre-stored dynamic JavaScript code for realizing a corresponding business logic function according to the logic function identifier ID; and performing data injection on a dynamic JavaScript code obtained according to the logic function ID, and executing the code, wherein the dynamic JavaScript code comprises calling of a local service interface or a cloud micro-service interface for realizing a basic function. The dynamic JavaScript is combined with the local service and the micro service, so that the service logic function and the basic function can be effectively separated, the logic function part can be subjected to page editing, the service thought is clear, the service method implementation mode is unified, and the development flexibility can be ensured while the development difficulty is reduced.

Description

technical field [0001] The invention relates to a service realization method and system based on the separation of basic and logical functions, belonging to the field of network technology. Background technique [0002] At present, in the construction process of the business website platform, the business is realized by developing specific background methods to realize specific business logic functions. This implementation method has the following problems: 1. Directly implementing the business in the background will require the development of many interfaces in the background to achieve business requirements, and because different developers use different development languages, technical architectures, and writing specifications, it is difficult to maintain the code for business implementation. Difficult, even difficult to read. 2. If the business logic function is completely placed in the background, there will be more bugs in the background, and the occurrence of bugs in...

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): G06F8/34G06F8/38G06F8/30
CPCG06F8/34G06F8/38G06F8/31
Inventor 施海明
Owner 南京始云网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products