Method and device for complex time sequence processing queue dynamic prediction
A technology of dynamic prediction and queuing, applied in the direction of machine execution devices, etc., can solve the problems of easy generation and complex logic of executing commands.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] like figure 1 Shown is a flow chart of the dynamic prediction method for complex time-sequence processing queues provided by the present invention. For ease of description, only the parts related to the embodiments of the present invention are shown.
[0034] In step S101, all command operations are correspondingly divided into one or more atomic operations in advance.
[0035] In the embodiment of the present invention, the so-called atomic operation refers to an operation that will not be interrupted by the thread scheduling mechanism; once such an operation starts, it will run until it ends. The logic performed by atomic operations cannot be divided into smaller parts at the business level. Atomic operations do not depend on each other, and atomic operations can be reused. Before executing command operations, according to the indivisible characteristics of atomic operations, all command operations are divided into one or more corresponding atomic operations in advan...
Embodiment 2
[0048] figure 2 The schematic diagram of the structure of the device for dynamic prediction of the complex sequential processing queue provided by the embodiment of the present invention, for the convenience of description, only shows the part related to the embodiment of the present invention.
[0049] The device can be a software unit, a hardware unit, or a combination of software and hardware built into electronic equipment such as computers, televisions, and mobile phones, or integrated into these electronic equipment or application systems of electronic equipment as an independent pendant. in:
[0050] The atomic division unit 21 is configured to divide all command operations into one or more atomic operations in advance.
[0051] In the embodiment of the present invention, the so-called atomic operation refers to an operation that will not be interrupted by the thread scheduling mechanism; once such an operation starts, it will run until it ends. The logic performed b...
Embodiment 3
[0062] image 3 It is a flow chart of an example of an upload operation example of a method for dynamically predicting complex timing processing queues provided by an embodiment of the present invention, and its specific execution process is as follows:
[0063] In step S301, the upload operation is divided into two atomic operations of updating directory and uploading file;
[0064] In step S302, an upload command is initiated, and two atomic operations of updating directory and uploading file are added to the queue;
[0065] In step S303, perform an atomic operation of updating the directory;
[0066] In step S304, determine whether to perform the atomic operation of uploading files, if so, perform step S307, otherwise perform step S305 or S306;
[0067] In the embodiment of the present invention, after performing the directory update operation, the user needs to further determine whether to continue to perform the atomic operation of uploading files.
[0068] In step S30...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com