Service logic processing method and device, service server and system

A technology of business logic and processing methods, applied in multi-programming devices, electronic digital data processing, instruments, etc., can solve the problem of low performance of database I/O, improve system processing capabilities, avoid updating and reading databases, The effect of reducing performance bottlenecks

Active Publication Date: 2018-07-06
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF9 Cites 7 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
  • Service logic processing method and device, service server and system
  • Service logic processing method and device, service server and system
  • Service logic processing method and device, service 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 , increasing 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 invention provides a service logic processing method and device, a service server and a system. The method comprises the steps that whether or not a first completion message usedfor indicating that a first service logic is executed exists in a first message queue is monitored; if it is monitored that the first completion message exists in the first message queue, the first completion message is extracted from the first message queue, and a second service logic associated with the first service logic is executed. Through the method, the message indicating that the servicelogic is completed is stored in the message queue, subsequent associated service logics are executed by monitoring the message queue, and then the execution of the whole service process is promoted.The pushing of the service process does not need updating and reading of a database, so that the situation that the database is frequently updated and read due to state changes of the service processis avoided. Therefore, under the condition of high concurrency, the I / O performance bottleneck of the database can be reduced to a great extent, and the system processing capability is 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 & Authority Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/546G06F2209/548
Inventor 周凯徐寅俊
Owner BEIJING QIYI CENTURY SCI & TECH 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