Transaction scheduling method

A scheduling method and transaction technology, applied in transaction processing, program startup/switching, inter-program communication, etc., can solve problems such as only using C language, achieve the effects of reducing software bugs, improving software development efficiency, and avoiding human errors

Pending Publication Date: 2019-07-09
深圳市创联时代科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these tools can only be used in the development of PC and mobile phone software. In the development of embedded systems, onl...

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
  • Transaction scheduling method
  • Transaction scheduling method
  • Transaction scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the devices and calculation methods in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] Such as figure 2 As shown, a transaction scheduling method, the scheduling unit of the operating system processes the transaction, divides the processed transaction into different transaction types, establishes a data structure for the transaction that needs to be processed, and connects the data structure into a queue. The processing process includes Follow the steps below:

[0025] Step 1. Pop up the transaction;

[00...

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 relates to a transaction scheduling method. The method comprises the following steps of enabling a scheduling unit of an operating system to process transactions, divide the processed transactions into different transaction types, establish a data structure for the transactions needing to be processed, and connect the data structure into a queue, wherein the processing process comprises the following steps: step 1, popping up the transactions; step 2, dividing the transactions into a ready transaction queue and a plurality of synchronous transaction queues by the scheduling unit;step 3, selecting a transaction from the queue by the scheduling unit according to a rule, and distributing a thread for the transaction; and step 4,enabling the scheduling unit to distribute the transactions to the CPU for processing. The method has the beneficial effects that human errors can be effectively avoided, meanwhile, software bugs are reduced, and the software development efficiency is greatly improved.

Description

technical field [0001] The invention relates to a transaction scheduling method of a computer operating system, in particular to a transaction scheduling method of an embedded computer operating system. Background technique [0002] When the current computer runs under the control of the operating system, it uses threads as the execution unit. The processes of running, stopping, switching, blocking, and sleeping of threads directly reflect the running process of the CPU. The traditional operating system takes this as a starting point and designs a scheduling system. Threads form several queues in memory. The operating system kernel allocates CPU time to each thread according to a certain algorithm. It also provides a series of API functions. Programmers can create threads by calling these API functions, and control the running, stopping, sleeping, blocking and other processes of threads. This process is highly related to the running process of the computer, and it is compl...

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): G06F9/46G06F9/48G06F9/54
CPCG06F9/466G06F9/485G06F9/546G06F2209/548G06F2209/543
Inventor 罗侍田程招招古小健王建忠陈家明
Owner 深圳市创联时代科技有限公司
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