Task application device and method based on task pre-allocation

A pre-allocation and task technology, applied in the direction of multi-program device, program startup/switching, program control design, etc., can solve problems such as system freeze, consume large lock resources, affect input user input efficiency, etc., to improve fluency Effect

Pending Publication Date: 2019-12-03
厦门商集网络科技有限责任公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Most of the calculations are performed after the entry user sends the entry task application, such as calculating the task set that the user can enter according to the user's skill authority, the highest priority task set that the user can currently enter, etc.;
[0006] 2. The input speed of input users is very fast, and the concurrency of application tasks is very large. A large number of concurrency will consume a lot of lock resources, resulting in the system being very stuck during the peak period of ticket volume, which seriously affects the input efficiency of input users;
[0007] 3. With the increase of data volume, the performance of traditional relational databases is very obvious; however, the data volume of input tasks is often very large, which can reach tens of millions in a few days, and verification affects system performance;
[0008] 4. The task application logic is written in the storage process of the database. Due to the single-point characteristics of the traditional relational database, horizontal expansion cannot be done. In the case of a large amount of input tasks, the processing capacity of the system cannot be expanded horizontally by increasing hardware resources

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
  • Task application device and method based on task pre-allocation
  • Task application device and method based on task pre-allocation
  • Task application device and method based on task pre-allocation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] A task application device based on task pre-allocation, comprising a memory and a processor, the memory stores instructions, and the instructions are adapted to be loaded by the processor and perform the following steps:

[0059]The detailed data of the task received by the client (the detailed data is the electronic data identified by the OCR technology after the system receives the bill) is put into the relational database (the relational database refers to the database that uses the relational model to organize the data, and its Store data in the form of columns and columns, so that users can understand. The series of rows and columns of relational databases are called tables, and a group of tables makes up the database. Users retrieve data in the database through queries, and queries are a system used to Limit the execution code of certain areas in the database. The relational model can be simply understood as a two-dimensional table model, and a relational database ...

Embodiment 2

[0069] Further, the weight factors of the task include task type, priority, timeliness and order of entering the pool; the weight proportion of the task type is much larger than the weight proportion of the priority, and the weight proportion of the priority Far greater than the weight proportion of the timeliness, the weight proportion of the timeliness is much greater than the weight proportion of the order of entering the pool, the above-mentioned much greater means that the weight proportion of the latter weight factor will not affect the previous The weight ratio of weight factors; that is, the weight ratio of these weight factors is sorted as task type>>priority>>timeliness>>order of entry into the pool; for example, task types include input tasks, verification tasks and sampling tasks, and the weight Sampling inspection>checking>recording; the sorting of tasks first considers the task type, that is, the task of the sampling type must be ranked before the task of the veri...

Embodiment 3

[0079] A task application method based on task pre-allocation, comprising the following steps:

[0080] The detailed data of the task received by the client (the detailed data is the electronic data identified by the OCR technology after the system receives the bill) is put into the relational database (the relational database refers to the database that uses the relational model to organize the data, and its Store data in the form of columns and columns, so that users can understand. The series of rows and columns of relational databases are called tables, and a group of tables makes up the database. Users retrieve data in the database through queries, and queries are a system used to Limit the execution code of certain areas in the database. The relational model can be simply understood as a two-dimensional table model, and a relational database is exactly a data organization composed of two-dimensional tables and the relationships between them. Adopt Postgres database in thi...

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 task application device based on task pre-allocation, which comprises a memory and a processor, and is characterized in that an instruction is stored in the memory and is suitable for being loaded by the processor and executing the following steps: generating a task by a client; judging whether the generated task is a high-priority task; if the current task is a high-priority task, putting the current task into a high-priority queue; if the current task is not the high-priority task, selecting an entry user of the executable task, and putting the task into a pre-allocated task queue of the entry user of the executable task; entering a task application request initiated by a user; if the high-priority queue is not empty and the task with the application permissionof the input user exists, immediately applying for the task with the highest priority in the tasks by the current input user; otherwise, allocating the task with the highest priority to the current input user from the pre-allocated task queue of the current input user; and after the input user acquires the task, returning the detail data to the input user by the client.

Description

technical field [0001] The invention relates to a task application device and method based on task pre-allocation, and belongs to the technical field of office automation. Background technique [0002] The task application system is mainly used for the identification and entry of bills. Divide the fields in a single bill into multiple input tasks, and these input tasks have different priorities according to customers and types. The entry user applies to the task application system for entry authority, and the entry task with the highest priority is entered. [0003] The existing task application system mainly adopts the method of database transaction lock table to ensure that the input user first applies for the high priority input task in the task pool, and the same input task will not be applied by other input users. [0004] The limitations of this approach mainly lie in the following aspects: [0005] 1. Most of the calculations are performed after the entry user send...

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/48G06F16/28
CPCG06F9/4881G06F16/284
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