CN107967549A - Multipaths Task Processing Unit and method - Google Patents

Multipaths Task Processing Unit and method Download PDF

Info

Publication number
CN107967549A
CN107967549A CN201610916509.XA CN201610916509A CN107967549A CN 107967549 A CN107967549 A CN 107967549A CN 201610916509 A CN201610916509 A CN 201610916509A CN 107967549 A CN107967549 A CN 107967549A
Authority
CN
China
Prior art keywords
task
item
processing
task processing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610916509.XA
Other languages
Chinese (zh)
Other versions
CN107967549B (en
Inventor
杨乐
雷超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Tu Niu Science And Technology Ltd
Original Assignee
Nanjing Tu Niu Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Tu Niu Science And Technology Ltd filed Critical Nanjing Tu Niu Science And Technology Ltd
Priority to CN201610916509.XA priority Critical patent/CN107967549B/en
Publication of CN107967549A publication Critical patent/CN107967549A/en
Application granted granted Critical
Publication of CN107967549B publication Critical patent/CN107967549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of multipaths Task Processing Unit and method, it is related to task process field.The multipaths Task Processing Unit includes information receiving unit with method, handles item for receiving the task of multiple and different processes of client transmission, and each task processing item carries task type information;Task allocation unit, for distributing each task processing item to the task buffer pond of the task type information association with task processing item;Task processing unit, the task processing item for being assigned to respectively to each task buffer pond at the same time are handled.The multipaths Task Processing Unit is realized from method and handled respectively in different task buffer ponds for the task processing item in different nodes, so as to effectively raise the efficiency of task processing, saves the time of task processing.

Description

Multipaths Task Processing Unit and method
Technical field
The present invention relates to task process field, in particular to a kind of multipaths Task Processing Unit and method.
Background technology
Multipaths task refers to that a task includes multiple process flow nodes, for example, in employee's utilization of a company The process flow node for the written request for leave that portion's system is submitted includes department head's examination & approval, Human Resources Specialist's examination & approval, reports back after leave of absence;For another example one The processing node of a tourism order includes occupy-place process, signing process, confirmation process and process of going on a tour.
In the prior art, the task of each process flow node of multipaths task is buffered in a task buffer pond In;By all process flow nodes in single anonymous thread loops scan task cache pool task and be dispatched to thread pool Reason.When the request amount of multipaths task is larger, the task of each process flow node of multipaths task is buffered in one Handled in a task buffer pond, lost time one by one very much, and utilize single thread scans task buffer pond so that swept It is limited to retouch progress, loses time very much.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of multipaths Task Processing Unit and method.
In a first aspect, an embodiment of the present invention provides a kind of multipaths Task Processing Unit, the multipaths task processing Device includes:
Information receiving unit, item, and each are handled for receiving the task of multiple and different processes of client transmission Business processing item carries task type information;
Task allocation unit, believes for distributing each task processing item to the task type with task processing item Cease associated task buffer pond;
Task processing unit, the task for being assigned to respectively to each task buffer pond at the same time are handled at item Reason.
Second aspect, the embodiment of the present invention additionally provide a kind of multipaths task processing method, at the multipaths task Reason method includes:
The task processing item for multiple and different processes that client is sent is received, and each task processing item is carried and appointed Service type information;
Each task processing item is distributed to the task buffer of the task type information association with task processing item Pond;
The task processing item being assigned to respectively to each task buffer pond at the same time is handled.
Compared with prior art, a kind of multipaths Task Processing Unit provided in an embodiment of the present invention and method, pass through by Each task processing item is distributed to the task buffer pond of the task type information association with task processing item;The same time-division again The other task processing item being assigned to each task buffer pond is handled, so that at the task in different nodes Director is handled respectively in different task buffer ponds, so as to effectively raise the efficiency of task processing, is saved The time of task processing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Brief description of the drawings
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.The present invention implementation being usually described and illustrated herein in the accompanying drawings The component of example can be arranged and designed with a variety of configurations.Therefore, the reality of the invention to providing in the accompanying drawings below The detailed description for applying example is not intended to limit the scope of claimed invention, but is merely representative of the selected implementation of the present invention Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without creative efforts Every other embodiment, belongs to the scope of protection of the invention.
Fig. 1 is that client provided in an embodiment of the present invention and server interact schematic diagram;
Fig. 2 is the block diagram of server provided in an embodiment of the present invention;
Fig. 3 is the functional unit schematic diagram of multipaths Task Processing Unit provided in an embodiment of the present invention;
Fig. 4 is the subelement schematic diagram of task processing unit provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of multipaths task processing method provided in an embodiment of the present invention;
Fig. 6 is the flow chart of another multipaths task processing method provided in an embodiment of the present invention.
Wherein, the correspondence between reference numeral and component names is as follows:Multipaths Task Processing Unit 100, service Device 101, client 102, processor 103, memory 104, storage control 105, Peripheral Interface 106, information receiving unit 301st, task allocation unit 302, task processing unit 303, judgment sub-unit 304, records subelement 305, scans subelement 306, handle subelement 307.
Embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing Go out all other embodiments obtained on the premise of creative work, belong to the scope of protection of the invention.
The multipaths Task Processing Unit and method that the embodiment of the present invention is provided can be applied to application ring as shown in Figure 1 In border.As shown in Figure 1, server 101, client 102 are located in network, by the webserver 101, client 102 into Row data interaction.As shown in Fig. 2, it is the block diagram of the server 101.The server 101 includes multipaths task Processing unit 100, processor 103, memory 104, storage control 105, Peripheral Interface 106.Wherein, multipaths task is handled The software function mould that device 100 is installed in the memory 104 and is performed including one or more by the processor 103 Block.The server 101 may be, but not limited to, the webserver, database server, cloud server etc..
The memory 104, storage control 105 and processor 103, each element are directly or indirectly electrical between each other Connection, to realize the transmission of data or interaction.For example, these elements can pass through one or more communication bus or letter between each other Number line, which is realized, to be electrically connected.The multipaths Task Processing Unit 100 include it is at least one can be with software or firmware (firmware) form is stored in the memory 104 or is solidificated in the operating system of the server 101 Software function module in (operating system, OS).The processor 103 is used to perform what is stored in memory 104 Executable module, for example, software function module or computer program that the multipaths Task Processing Unit 100 includes.
Wherein, memory 104 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 104 is used for storage program, and the processor 103 performs described program after execute instruction is received, foregoing The method performed by server 101 that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to processor In 103, or realized by processor 103.
Processor 103 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned processor 103 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor 103 can also be any conventional processor 103 etc..
Various input/output devices are coupled to processor 103 and memory 104 by the Peripheral Interface 106.At some In embodiment, Peripheral Interface 106, processor 103 and storage control 105 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
Referring to Fig. 3, a kind of multipaths Task Processing Unit provided in an embodiment of the present invention, the multipaths task processing Device includes information receiving unit 301, task allocation unit 302 and task processing unit 303.
Described information receiving unit 301 is used for the task processing item for receiving multiple and different processes of the transmission of client 102, And each task processing item carries task type information.
In the present embodiment, task processing item is tourist resources information processing item, the tourist resources information processing thing The process of item includes occupy-place process, signing process, confirmation process and process of going on a tour.Wherein, occupy-place process includes 1, receives visitor The request selecting supplier that goes on a tour that the request 2 of going on a tour of the transmission of family end 102, foundation receive;3rd, the demand of going on a tour is sent to supply Shang Duan, and wait supplier to feed back;4th, occupy-place is generated after the feedback that supplier end sends is received as a result, and by occupy-place result Send to client 102.Signing process includes the signing list information and Payment Amount information for receiving the transmission of client 102.Really Recognize process to send again to supplier end including the 1, demand that will go on a tour and wait supplier to confirm;2nd, supplier's end hair is being received The document of settlement is generated after the confirmation message sent.Process of going on a tour includes 1, sends out to go on a tour to client 102 and notify 2, go out in guest Trip terminates whole flow process after coming back.Of course, task processing item can be not only that tourist resources information processing item also may be used Think other Multiprocessing items, for example, company's written request for leave processing item or fund report and rigister processing item etc., herein It is merely illustrative.
The task allocation unit 302 is used to distribute each task processing item to the task with task processing item The associated task buffer pond of type information.
The task processing unit 303 be used for being assigned to respectively to each task buffer pond of the task at the same time handle item into Row processing.
In the present embodiment, each task buffer pond has pre-allocated a flow engine, and engine (Engine) is that electronics is put down The core component of program or system is developed on platform;Using engine, developer can establish rapidly, be laid with function needed for program, or Utilize the operating of its auxiliary program.In the present embodiment, the stream of each task buffer pond distribution is called by task processing unit 303 Journey engine, each flow engine is used to manage the processing of the task processing item in a task buffer pond, so as to avoid institute Some tasks handle item and are handled in same task buffer pond with same flow engine, improve task processing item Treatment effeciency, saves processing time.
Specifically, the task processing item includes information type task processing item and time type tasks processing thing , as shown in figure 4, the task processing unit 303 includes scanning subelement 306 and processing subelement 307.
The scanning subelement 306 is used to two scanning threads be respectively started, and one of scanning thread is pointed to often The task processing item in a task buffer pond carries out scanning recognition one by one and extracts information type task handling item to handling line Cheng Chi;When the task processing item that another scanning thread is pointed to each task buffer pond carries out scanning recognition one by one and extracts Between type tasks handle item to handling thread pool.
In the present embodiment, one of scanning thread is dedicated for scanning information type tasks processing item, another sweeps Thread scans time type tasks processing item is retouched, specifically, the TYPE_ field values of the ACT_RU_JOB tables of task processing item There is two kinds of " message " and " timer ", wherein " message " represents that task processing item handles thing for information type task , " timer " represents that task processing item handles item, one of scanning thread scans to task for time type tasks Then task processing item is extracted to processing when the TYPE_ field values for handling the ACT_RU_JOB tables of item are " message " Thread pool;Another scans thread When " timer ", then task processing item is extracted to processing thread pool.By different scanning threads to different types of Business processing item is extracted the treatment effeciency for processing thread pool, further increasing task processing item.
The processing subelement 307 is used in processing thread pool to information type task processing item and time type tasks Processing item is handled.
It is preferred that another embodiment as extraction task processing item, as shown in figure 4, the task is handled Unit 303 further includes judgment sub-unit 304 and record subelement 305.
Whether the task processing item that the judgment sub-unit 304 is used to judge in each task buffer pond carries Time icon.
In this implementation, TYPE_ field values " timer " mapping of the ACT_RU_JOB tables of time icon, that is, task processing item Icon.
It is time type tasks that the record subelement 305, which is used to the carrying time icon of the task handling transaction record, Item is handled, the task processing transaction record for not carrying time icon is handled into item for information type task.
The scanning subelement 306 is used to two scanning threads be respectively started, and one of scanning thread is pointed to often The information type task processing item in a task buffer pond, which is scanned and extracts information type task, handles item to handling line Cheng Chi;When the time type tasks processing item that another scanning thread is pointed to each task buffer pond is scanned and extracts Between type tasks handle item to handling thread pool.
Information type task is handled by item and time type by judgment sub-unit 304 and record subelement 305 in advance Task processing item is separated and recorded, and scanning subelement 306 is without carrying out one by one different types of task processing item Scanning recognition, so as to improve the efficiency of task processing item.
The time icon carries processing time information;The processing subelement 307 is used in processing thread pool processing The information type task processing item of extraction and the time type tasks processing thing according to processing time information processing extraction .
For example, the processing time information that the time icon carries is 9:00, then subelement 307 is handled 9:00 pair this Business processing item is handled, for another example the processing time information that the time icon carries is 10min, then handles subelement 307 are handled task processing item after 10min.
Referring to Fig. 5, the embodiment of the present invention additionally provides a kind of multipaths task processing method, it is necessary to illustrate, this The technique effect of the multipaths task processing method that embodiment is provided, its basic principle and generation is identical with above-described embodiment, To briefly describe, the present embodiment part does not refer to part, refers to corresponding contents in the above embodiments.The multipaths task Processing method includes:
Step S401:Receive the task processing item for multiple and different processes that client 102 is sent, and each task processing Item carries task type information.
It is to be appreciated that received by information receiving unit 301 at the task for multiple and different processes that client 102 is sent Director, and each task processing item carries task type information.
Step S402:Distribute each task processing item to appointing to the task type information association with task processing item Business cache pool.
Thing is handled it is to be appreciated that distributing each task processing item to the task by task allocation unit 302 The task buffer pond of the task type information association of item.
Step S403:The task processing item being assigned to respectively to each task buffer pond at the same time is handled.
It is to be appreciated that by task processing unit 303 at the same time at being assigned to respectively to each task buffer pond of the task Director is handled.
The task processing item includes information type task processing item and time type tasks processing item, step S403 can include:
Step S4031:Two scanning threads are respectively started, and one of scanning thread is pointed to each task buffer pond Task processing item carry out scanning recognition one by one and extract information type task handling item to handling thread pool;Another is swept Retouch thread and be pointed to the task processing item in each task buffer pond and carry out at scanning recognition and extraction time type tasks one by one Director extremely processing thread pool.
It is to be appreciated that two scanning threads, and one of scanning thread pair is respectively started by scanning subelement 306 Task processing item positioned at each task buffer pond carries out scanning recognition one by one and extracts information type task processing item extremely Handle thread pool;The task processing item that another scanning thread is pointed to each task buffer pond carries out one by one that scanning recognition is simultaneously Extraction time type tasks handle item to handling thread pool.
Step S4032:Processing thread pool information type task processing item and time type tasks are handled item into Row processing.
It is to be appreciated that item and time are handled to information type task in processing thread pool by handling subelement 307 Type tasks processing item is handled.
Referring to Fig. 6, the embodiment of the present invention additionally provides another multipaths task processing method, it is necessary to illustrate, The technique effect and above-described embodiment phase of the multipaths task processing method that the present embodiment is provided, its basic principle and generation Together, to briefly describe, the present embodiment part does not refer to part, refers to corresponding contents in the above embodiments.
The multipaths task processing method includes:
Step S501:Receive the task processing item for multiple and different processes that client 102 is sent, and each task processing Item carries task type information.
It is to be appreciated that received by information receiving unit 301 at the task for multiple and different processes that client 102 is sent Director, and each task processing item carries task type information.
Wherein, task processing item is tourist resources information processing item, the tourist resources information processing item Process include occupy-place process, signing process, confirmation process and process of going on a tour.
Step S502:Each task processing item is distributed to the task type information association with task processing item Task buffer pond.
Thing is handled it is to be appreciated that distributing each task processing item to the task by task allocation unit 302 The task buffer pond of the task type information association of item.
Step S503:Judge whether the processing of the task in task buffer pond item carries time icon.
It is to be appreciated that judge that the task in task buffer pond handles whether item is taken by judgment sub-unit 304 With time icon.
Step S504:The task processing transaction record for carrying time icon is handled into item for time type tasks, will The task processing transaction record for not carrying time icon handles item for information type task.
It is to be appreciated that thing is handled for time type tasks by the way that the carrying time icon of the task is handled transaction record , the task processing transaction record for not carrying time icon is handled into item for information type task.
Step S505:The task processing item being assigned to respectively to each task buffer pond at the same time is handled.
It is to be appreciated that by task processing unit 303 at the same time at being assigned to respectively to each task buffer pond of the task Director is handled.
Specifically, the time icon carries processing time information, and step S505 includes:
Step S5051:Two scanning threads are respectively started, and one of scanning thread is pointed to each task buffer pond Information type task processing item be scanned and extract information type task and handle item to handling thread pool;Another is swept Retouch thread be pointed to each task buffer pond time type tasks processing item be scanned and extraction time type tasks at Director extremely processing thread pool.
It is to be appreciated that two scanning threads, and one of scanning thread pair is respectively started by scanning subelement 306 Information type task processing item positioned at each task buffer pond is scanned and extracts information type task processing item extremely Handle thread pool;The time type tasks processing item that another scanning thread is pointed to each task buffer pond is scanned simultaneously Extraction time type tasks handle item to handling thread pool.
Step S5052:When handling the information type task processing item of thread pool processing extraction and according to the processing Between information processing extract time type tasks processing item.
It is to be appreciated that thing is handled in the information type task of processing thread pool processing extraction by handling subelement 307 Item and the time type tasks processing item according to processing time information processing extraction.
In conclusion a kind of multipaths Task Processing Unit provided in an embodiment of the present invention and method, by will each appoint Business processing item is distributed to the task buffer pond of the task type information association with task processing item;Again while respectively to every The task processing item that a task buffer pond is assigned to is handled, so as to handle item for the task in different nodes Handled in different task buffer ponds, so as to effectively raise the efficiency of task processing, saved at task respectively The time of reason.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in attached drawing Show the devices of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used for realization holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in attached drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of a square frame and block diagram and/or the square frame in flow chart, can use function or the dedicated base of action as defined in performing Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment the method for the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, without necessarily requiring or implying there are any this reality between these entities or operation The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including Other elements that are not explicitly listed, or further include as elements inherent to such a process, method, article, or device. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, also there are other identical element in article or equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exists Similar terms is represented in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, is then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention answers the scope of the claims of being subject to.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there are other identical element in process, method, article or equipment including the key element.

Claims (10)

1. a kind of multipaths Task Processing Unit, it is characterised in that the multipaths Task Processing Unit includes:
Information receiving unit, item is handled for receiving the task of multiple and different processes of client transmission, and at each task Director carries task type information;
Task allocation unit, is closed for distributing each task processing item to the task type information with task processing item The task buffer pond of connection;
Task processing unit, the task processing item for being assigned to respectively to each task buffer pond at the same time are handled.
2. multipaths Task Processing Unit according to claim 1, it is characterised in that the task processing item includes letter Type tasks processing item and time type tasks processing item are ceased, the task processing unit includes:
Subelement is scanned, for two scanning threads to be respectively started, and one of scanning thread is pointed to each task buffer The task processing item in pond carries out scanning recognition one by one and extracts information type task handling item to handling thread pool;Another The task processing item that scanning thread is pointed to each task buffer pond carries out scanning recognition one by one and extraction time type tasks Processing item is to handling thread pool;
Handle subelement, for processing thread pool information type task processing item and time type tasks are handled item into Row processing.
3. multipaths Task Processing Unit according to claim 1, it is characterised in that the task processing unit also wraps Include:
Whether judgment sub-unit, the task processing item for judging in each task buffer pond carry time icon;
Subelement is recorded, for the task processing transaction record for carrying time icon to be handled item for time type tasks, The task processing transaction record for not carrying time icon is handled into item for information type task,
The scanning subelement is used to two scanning threads be respectively started, and one of scanning thread is pointed to each task and delays The information type task processing item for depositing pond is scanned and extracts information type task and handles item to handling thread pool;It is another The time type tasks processing item that a scanning thread is pointed to each task buffer pond is scanned and extraction time type is appointed Business processing item is to handling thread pool.
4. multipaths Task Processing Unit according to claim 3, it is characterised in that the time icon carries processing Temporal information;The processing subelement is used in the information type task processing item of processing thread pool processing extraction and according to institute State the time type tasks processing item of processing time information processing extraction.
5. multipaths Task Processing Unit according to claim 1, it is characterised in that the task processing item is tourism Resource information processing item, the process of the tourist resources information processing item include occupy-place process, signing process, confirm process And process of going on a tour.
6. a kind of multipaths task processing method, it is characterised in that the multipaths task processing method includes:
The task processing item for multiple and different processes that client is sent is received, and each task processing item carries task class Type information;
Each task processing item is distributed to the task buffer pond of the task type information association with task processing item;
The task processing item being assigned to respectively to each task buffer pond at the same time is handled.
7. multipaths task processing method according to claim 6, it is characterised in that the task processing item includes letter Cease type tasks processing item and time type tasks processing item, it is described while each task buffer pond is assigned to respectively The step of task processing item is handled includes:
Two scanning threads are respectively started, and one of scanning thread is pointed to the task processing item in each task buffer pond Carry out scanning recognition one by one and extract information type task to handle item to handling thread pool;Another scanning thread is pointed to often The task processing item in a task buffer pond carries out scanning recognition and extraction time type tasks one by one and handles item to handling line Cheng Chi;
Item is handled information type task in processing thread pool to handle with time type tasks processing item.
8. multipaths task processing method according to claim 6, it is characterised in that described while respectively to each Before the step of task processing item that business cache pool is assigned to is handled, the method further includes:
Judge whether the processing of the task in task buffer pond item carries time icon;
The task processing transaction record for carrying time icon is handled into item for time type tasks, will not carry time diagram The processing transaction record of target task handles item for information type task;
The step of task processing item that is described while being assigned to respectively to each task buffer pond is handled includes:
Two scanning threads are respectively started, and one of scanning thread is pointed to the information type task in each task buffer pond Processing item, which is scanned and extracts information type task, handles item to handling thread pool;Another scanning thread is pointed to often The time type tasks processing item in a task buffer pond is scanned and extraction time type tasks handle item to handling line Cheng Chi.
9. multipaths task processing method according to claim 8, it is characterised in that the time icon carries processing Temporal information;The processing subelement is used in the information type task processing item of processing thread pool processing extraction and according to institute State the time type tasks processing item of processing time information processing extraction.
10. multipaths task processing method according to claim 6, it is characterised in that the task processing item is trip Swim resource information processing item, the process of the tourist resources information processing item include occupy-place process, signing process, confirm into Journey and process of going on a tour.
CN201610916509.XA 2016-10-20 2016-10-20 Multi-process task processing device and method Active CN107967549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610916509.XA CN107967549B (en) 2016-10-20 2016-10-20 Multi-process task processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610916509.XA CN107967549B (en) 2016-10-20 2016-10-20 Multi-process task processing device and method

Publications (2)

Publication Number Publication Date
CN107967549A true CN107967549A (en) 2018-04-27
CN107967549B CN107967549B (en) 2022-02-01

Family

ID=61997200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610916509.XA Active CN107967549B (en) 2016-10-20 2016-10-20 Multi-process task processing device and method

Country Status (1)

Country Link
CN (1) CN107967549B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254199A (en) * 2021-05-07 2021-08-13 埃森智能科技(深圳)有限公司 Method, system and equipment for simultaneously processing multiple tasks

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452555A (en) * 2008-12-31 2009-06-10 中国建设银行股份有限公司 Method for enquiring personal credit information, system and personal credit enquiring system
CN102722417A (en) * 2012-06-07 2012-10-10 腾讯科技(深圳)有限公司 Distribution method and device for scan task
CN102902573A (en) * 2012-09-20 2013-01-30 北京搜狐新媒体信息技术有限公司 Task processing method and device based on shared resources
CN103593236A (en) * 2013-11-14 2014-02-19 华为技术有限公司 Computer equipment, method and device for scheduling service process
US20140059468A1 (en) * 2012-08-24 2014-02-27 Gregory Paul Allgair Method and user interface device for efficient collaboration in a maintenance environment
CN105159768A (en) * 2015-09-09 2015-12-16 浪潮集团有限公司 Task management method and cloud data center management platform
CN105303307A (en) * 2015-10-16 2016-02-03 北京京北方信息技术有限公司 Method and device for distributing work tasks
CN105511958A (en) * 2014-10-11 2016-04-20 阿里巴巴集团控股有限公司 Method and device for task scheduling
CN105573850A (en) * 2015-11-09 2016-05-11 广州多益网络科技有限公司 Multi-process interactive method and system and server
GB2532834A (en) * 2014-08-14 2016-06-01 Imp Io Ltd A method and system for scalable job processing
CN105760234A (en) * 2016-03-17 2016-07-13 联动优势科技有限公司 Thread pool management method and device
US20160292374A1 (en) * 2015-04-06 2016-10-06 Preventice, Inc. Adverse event prioritization and handling

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452555A (en) * 2008-12-31 2009-06-10 中国建设银行股份有限公司 Method for enquiring personal credit information, system and personal credit enquiring system
CN102722417A (en) * 2012-06-07 2012-10-10 腾讯科技(深圳)有限公司 Distribution method and device for scan task
US20140059468A1 (en) * 2012-08-24 2014-02-27 Gregory Paul Allgair Method and user interface device for efficient collaboration in a maintenance environment
CN102902573A (en) * 2012-09-20 2013-01-30 北京搜狐新媒体信息技术有限公司 Task processing method and device based on shared resources
CN103593236A (en) * 2013-11-14 2014-02-19 华为技术有限公司 Computer equipment, method and device for scheduling service process
GB2532834A (en) * 2014-08-14 2016-06-01 Imp Io Ltd A method and system for scalable job processing
CN105511958A (en) * 2014-10-11 2016-04-20 阿里巴巴集团控股有限公司 Method and device for task scheduling
US20160292374A1 (en) * 2015-04-06 2016-10-06 Preventice, Inc. Adverse event prioritization and handling
CN105159768A (en) * 2015-09-09 2015-12-16 浪潮集团有限公司 Task management method and cloud data center management platform
CN105303307A (en) * 2015-10-16 2016-02-03 北京京北方信息技术有限公司 Method and device for distributing work tasks
CN105573850A (en) * 2015-11-09 2016-05-11 广州多益网络科技有限公司 Multi-process interactive method and system and server
CN105760234A (en) * 2016-03-17 2016-07-13 联动优势科技有限公司 Thread pool management method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254199A (en) * 2021-05-07 2021-08-13 埃森智能科技(深圳)有限公司 Method, system and equipment for simultaneously processing multiple tasks

Also Published As

Publication number Publication date
CN107967549B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
US20160342927A1 (en) Systems and methods for providing an information technology interface
CN108154035A (en) Extensive website vulnerability scan method, device and electronic equipment
CN104182225B (en) A kind of General Mobile information system adaptation method and device
CN107958321A (en) Model verifies system and method
CN107133323A (en) Data model construction method, the implementation method of government affairs service business and device
CN107133001A (en) A kind of face singles impression method, device and client
CN107679832A (en) Task management method, device and server
CN104992301A (en) Flow circulation control method and apparatus for project management of beyond enterprise/organization
CN111932150A (en) AI decision and engine-based flow execution method, device, equipment and medium
CN109345190A (en) A kind of data processing method and device
CN106227751A (en) A kind of scan method storing file and scanning device
CN105139103A (en) Method and apparatus for controlling process circulation of project management and terminal device
CN112598391A (en) Business process creation method and device, electronic equipment and storage medium
Sardjono et al. Designing of IT master plan based on TOGAF ADM framework in the regional water utility company
CN104199648B (en) A kind of General Mobile information system adaptation method and device
CN110930105B (en) Task list processing method and device, computer equipment and storage medium
CN107967549A (en) Multipaths Task Processing Unit and method
CN104391844A (en) Data management system and tool
O'Reilly Managing the bots that are managing the business
CN107909382A (en) User grouping management method, server and storage medium
US7694308B1 (en) Enterprise application mapping tool and datastore with target state dimension
CN107665422A (en) A kind of online equity method for tracking and managing and terminal
JP3006610B1 (en) Work flow support execution system
CN106445522A (en) Storage interface display method based on floating window
US7996299B2 (en) Trade services management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant