A business logic processing method, device, business server and system

A business logic and processing method technology, applied in multi-programming devices, electrical digital data processing, instruments, etc., can solve problems such as low database I/O performance, improve system processing capacity, avoid updating and reading databases, The effect of reducing performance bottlenecks

Active Publication Date: 2021-11-05
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiments of the present invention is to provide a business logic processing method, device, business server and system to solve the technical problem of low database I / O performance in the case of high concurrency existing in the prior art

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 business logic processing method, device, business server and system
  • A business logic processing method, device, business server and system
  • A business logic processing method, device, business server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In the process of process control, it is usually implemented by using a workflow framework, especially in the case of weak process control. When using a workflow framework, the server needs to frequently update the process status recorded in the database, read and write operations on the database , increases the I / O burden of the database, and the I / O bottleneck of the database will cause the bottleneck of the entire process control.

[0048] In view of this, the embodiment of the present invention provides a business logic processing method, see figure 1 , the method includes:

[0049] S100. Monitor whether there is a first completion message indicating completion of execution of the first business logic in the first message queue.

[0050]For each business logic involved in the business process, there is a corresponding message queue, which can store a completion message indicating that the execution of the corresponding business logic is completed. For example, the ...

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 embodiment of the present invention provides a service logic processing method, device, service server and system. The method includes: monitoring whether there is a first completion message in the first message queue indicating the execution completion of the first business logic; when the first completion message is detected in the first message queue, from the first message queue Extract the first completion message from a message queue, and execute the second business logic associated with the first business logic. Through the above method, the message completed by the business logic is stored in the message queue, and the associated follow-up business logic is executed by listening to the message queue, thereby promoting the execution of the entire business process. The advancement of the business process does not need to update and read the database, thereby avoiding frequent updates and reading of the database due to changes in the state of the business process. Therefore, in the case of high concurrency, the database I / O performance bottleneck can be greatly reduced and the system processing capacity can be improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a business logic processing method, device, business server and system. Background technique [0002] In the field of computer technology, generally, a business process implemented by a computer program can be considered to be composed of various business logics and workflows (Workflow). Business logic represents the logic adapted to a specific business, such as the implementation of business rules, the processing of business data, and so on. Workflow refers to the sequence between various business logic. Workflow is a part of Computer Supported Cooperative Work (CSCW for short). A workflow framework (also called a workflow engine) refers to a program that can identify workflows and execute workflow steps. It is equivalent to a workflow scheduler, monitors the execution of each workflow process, and sends process operations to Go to the next step, or sleep or termina...

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 & AuthorityPatents(China)
IPC IPC(8): G06F9/54
CPCG06F9/546G06F2209/548
Inventor周凯徐寅俊
OwnerBEIJING QIYI CENTURY SCI & TECH CO LTD