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

A service logic execution system and method based on a dynamic language

A technology of business logic and dynamic language, applied in the information field, can solve problems such as insufficient business logic execution environment, and achieve the effect of highly reliable execution environment, isolation, and high stability

Active Publication Date: 2019-05-10
EB INFORMATION TECH
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The above simple implementation methods are feasible for generally small-scale systems, but it is still very difficult for large-scale (such as hundreds of developers, carrying dozens or even hundreds of complex services) business logic execution environment implementation. Stretched

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
  • A service logic execution system and method based on a dynamic language
  • A service logic execution system and method based on a dynamic language
  • A service logic execution system and method based on a dynamic language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0026] The use of dynamic language for business logic development can effectively improve the efficiency of development and testing, but the flexibility of dynamic language also causes the instability of the business execution environment to a certain extent. Aiming at the characteristics of dynamic languages ​​such as Lua, the present invention allocates an independent business virtual machine for each business, and presets a certain number of coroutines in each business virtual machine. When the business virtual machine receives a new command request, An idle coroutine will be bound to the request object, and then the coroutine will be responsible for invoking the corresponding business logic to process the request object. The dynamic language in the present inve...

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 service logic execution system and method based on a dynamic language. The system comprises a plurality of service logic execution devices, each service logic execution device comprises a scheduling unit and a plurality of service virtual machines. Each decvie comprises a scheduling unit and a plurality of service virtual machine, the unit is used for receiving command requests, according to the service and a virtual machine mapping table; adding the command request into a command request buffer area of a corresponding service virtual machine; wherein each service virtual machine comprises a service virtual machine thread for regularly checking whether a new command request exists in a command request buffer area or not, extracting a coroutine object from an idlecoroutine queue when the new command request exists and the idle coroutine exists in the idle coroutine queue, and then injecting new command request data into the extracted coroutine; the command request buffer area is used for storing a command request; and the idle coroutine queue is used for storing the idle coroutine of the service virtual machine. The invention belongs to the technical fieldof information, and provides a high-reliability and high-stability service logic execution environment for a large-scale application system.

Description

technical field [0001] The invention relates to a dynamic language-based business logic execution system and method, belonging to the field of information technology. Background technique [0002] With the rapid development of Internet technology, business logic development based on dynamic language (such as Lua language) has been widely used, and has become the mainstream development mode of many large-scale business systems. In order to ensure the high availability, high performance and convenient maintenance of the business system, a very stable business logic execution environment is usually required as a support. [0003] How to provide a highly reliable and stable execution environment for the business logic layer? There are also some simple implementation methods: [0004] First, embed the dynamic language into a specific virtual machine for dynamic execution. When the business logic fails, the virtual machine can be restarted, and then the business can be reloaded;...

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 Applications(China)
IPC IPC(8): G06F8/30G06F9/54
Inventor 张建虎汪青峰姜金旺夏森丽张桂权植东梧王昊廖瀚文唐强曾懿肖辉春李佳丽陈亮程相凯
Owner EB INFORMATION TECH
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