CN109471708B - Task processing method, device and system - Google Patents

Task processing method, device and system Download PDF

Info

Publication number
CN109471708B
CN109471708B CN201811192219.0A CN201811192219A CN109471708B CN 109471708 B CN109471708 B CN 109471708B CN 201811192219 A CN201811192219 A CN 201811192219A CN 109471708 B CN109471708 B CN 109471708B
Authority
CN
China
Prior art keywords
task
node
execution
execution node
task execution
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.)
Active
Application number
CN201811192219.0A
Other languages
Chinese (zh)
Other versions
CN109471708A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811192219.0A priority Critical patent/CN109471708B/en
Publication of CN109471708A publication Critical patent/CN109471708A/en
Application granted granted Critical
Publication of CN109471708B publication Critical patent/CN109471708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The embodiment of the specification provides a task processing method, device and system. The method comprises the following steps: the method comprises the steps that a task creation node obtains information of a plurality of task execution nodes of a task to be executed; determining execution time sequence information among a plurality of task execution nodes according to the information of the task execution nodes; acquiring a task form of the task to be executed; and sending a task form to each task execution node in turn according to the execution time sequence information, wherein the sent task form is a task form updated by the task execution node with the last execution time sequence. The method provided by the embodiment of the invention has flexible implementation mode.

Description

Task processing method, device and system
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a task processing method, device and system.
Background
With the development of internet technology, various network platforms are presented, on one hand, platform service providers issue services and provide services on the network platforms, and on the other hand, platform service users access services and enjoy services on the network platforms. Taking a game platform as an example, a game developer can provide a developed game data packet to a network platform, and the game platform uploads the game data packet to a game platform server; the game user logs in the game platform server and selects the game to operate.
Because the platform resource bit is limited, the network platform can evaluate the platform service and distribute the platform resource bit according to the evaluating result.
The evaluation task needs to be matched and implemented by a plurality of nodes, and the existing implementation mode needs to develop the evaluation task for each object to be evaluated, so that the development complexity is high.
It should be noted that the above-described problems also exist in the development of other multi-node coordinated tasks.
Disclosure of Invention
In view of the problem of complexity in task development and implementation of the conventional multi-node cooperation, the invention provides a task processing method which can reduce the complexity of task development and improve the flexibility of task creation.
In a first aspect, an embodiment of the present invention provides a task processing method, where the method includes:
the task creation node selects a plurality of task execution nodes of a task to be executed and acquires information of the selected task execution nodes;
the task creation node determines execution time sequence information among the task execution nodes according to the information of the task execution nodes;
the task creation node acquires a task form of the task to be executed;
the task creation node sequentially sends a task form to each task execution node according to the execution time sequence information, wherein the sent task form is a task form updated by the task execution node with the last execution time sequence.
The method provided by the embodiment of the invention can select the task execution node according to the need, and determine the task execution time sequence according to the selected task execution node, namely, a developer only needs to develop a framework supporting the task creation node, the task execution time sequence and the combination of the task execution time sequence, so that the user can flexibly create the task on the basis of the framework according to the need, the developer does not need to develop the task for each person object respectively, the development complexity is reduced, and the flexibility of task creation is improved.
With reference to the first aspect, in a first implementation manner of the first aspect of the embodiment of the present invention, the task creation node obtains a task form of the task to be executed, including:
the task creation node acquires the task type of the task to be executed;
the task creation node searches a task form template corresponding to the task type;
after searching a task form template, a task creation node acquires the task list template as a task form;
after the task form template is not found, the task creation node creates a task form.
In the method provided by the embodiment of the invention, the task form templates corresponding to different task types can be pre-configured, so that the task form is prevented from being created every time a task is created, and the processing efficiency is improved by multiplexing the task form.
With reference to the first aspect or the first implementation manner of the first aspect, in a second implementation manner of the first aspect of the embodiment of the present invention, the method further includes:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
the task creation node sends a task form to each task execution node in turn according to the execution time sequence information, and the task creation node comprises:
the task creation node sequentially reads the pointer corresponding to each task execution node, and sends a task form to the next task execution node according to the address indicated by the pointer.
The method provided by the embodiment of the invention can quickly jump to the address of the task execution node through the pointer, thereby being convenient for quickly searching the task execution node.
With reference to the first aspect or the first implementation manner of the first aspect, in a third implementation manner of the first aspect of the embodiment of the present invention, the method further includes:
after each task execution node receives the task form, the task form is updated according to the authority of the task execution node, and the updated task form is returned to the task creation node.
According to the method provided by the embodiment of the invention, the task forms do not need to be respectively established for each task executing node, each task only needs one task form, each executing node updates the task form according to the authority of the executing node, and the reliability of task execution is ensured.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect provided by an embodiment of the present invention, before returning the updated task form to the task creation node, the method further includes:
and each task execution node inputs the updated data in the updated task form into a scoring model, a scoring result is obtained by using the scoring model, the scoring result is stored in the task form, and the scoring model is obtained by training a known form data sample.
With reference to the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect of the embodiment of the present invention, the method further includes:
and the task creation node acquires all scoring results in the task form after receiving the task form returned by the last task execution node, and generates the scoring result of the task to be executed according to the acquired scoring result.
According to the method provided by the embodiment of the invention, each task execution node automatically scores according to the scoring model, so that the objectivity and efficiency of evaluation are improved.
In a second aspect, an embodiment of the present invention provides a task processing system, including a task creation node and a task execution node:
the task creation node includes:
the execution node information acquisition module is used for acquiring information of a plurality of task execution nodes of a task to be executed;
the execution time sequence information determining module is used for determining execution time sequence information among the plurality of task execution nodes according to the information of the plurality of task execution nodes;
the task form acquisition module is used for selecting a plurality of task execution nodes of a task to be executed and acquiring information of the selected task execution nodes;
the task form transmission module is used for sequentially transmitting a task form to each task execution node according to the execution time sequence information, wherein the transmitted task form is a task form updated by the task execution node with the last execution time sequence;
the task execution node includes:
the task form receiving module is used for receiving the task form;
the task form processing module is used for updating the task form;
And the task form sending module is used for sending the updated task form.
The system provided by the embodiment of the invention can select the task execution node according to the need, and determine the task execution time sequence according to the selected task execution node, namely, a developer only needs to develop a framework supporting the task creation node, the task execution time sequence and the combination of the task execution time sequence, so that the user can flexibly create the task on the basis of the framework according to the need, the developer does not need to develop the task for each person object respectively, the development complexity is reduced, and the flexibility of task creation is improved.
With reference to the second aspect, in a first implementation manner of the second aspect of the embodiment of the present invention, the task form obtaining module is configured to:
acquiring the task type of the task to be executed;
searching a task form template corresponding to the task type;
after the task list template is searched, the task list template is obtained and used as a task list;
and after the task form template is not found, creating a task form.
In the system provided by the embodiment of the invention, the task form templates corresponding to different task types can be pre-configured, so that the task form is prevented from being created every time a task is created, and the processing efficiency is improved by multiplexing the task form.
With reference to the second aspect or the first implementation manner of the second aspect, in a second implementation manner of the second aspect of the embodiment of the present invention, the task creation node further includes a pointer generation module, configured to:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
the task form transmission module is used for:
and sequentially reading pointers corresponding to each task execution node, and sending a task form to the next task execution node according to the addresses indicated by the pointers.
The system provided by the embodiment of the invention can quickly jump to the address of the task execution node through the pointer, thereby being convenient for quickly searching the task execution node.
With reference to the second aspect or the first implementation manner of the second aspect, in a third implementation manner of the second aspect of the embodiment of the present invention, the task form update module is configured to: and updating the task form according to the authority of the task execution node.
According to the system provided by the embodiment of the invention, the task forms do not need to be respectively established for each task executing node, each task only needs one task form, each executing node updates the task form according to the authority of the executing node, and the reliability of task execution is ensured.
With reference to the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect provided by an embodiment of the present invention, the task execution node further includes a scoring module, configured to:
and inputting updated data in the updated task form into a scoring model, obtaining a scoring result by using the scoring model, and storing the scoring result into the task form, wherein the scoring model is obtained by training a known form data sample.
According to the system provided by the embodiment of the invention, the task forms do not need to be respectively established for each task executing node, each task only needs one task form, each executing node updates the task form according to the authority of the executing node, and the reliability of task execution is ensured.
With reference to the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect of the embodiment of the present invention, the task creation node further includes a scoring result generating module, configured to:
and after receiving a task form returned by the last task execution node, acquiring all scoring results in the task form, and generating scoring results of the task to be executed according to the acquired scoring results.
According to the system provided by the embodiment of the invention, each task execution node automatically scores according to the scoring model, so that the objectivity and efficiency of evaluation are improved.
In a third aspect, embodiments of the present invention provide a computer system comprising a plurality of processors and memory:
a plurality of memories for storing programs for executing the method in any of the above embodiments;
the plurality of processors are configured to execute programs stored in the memory.
The computer system provided by the embodiment of the invention can select the task execution node according to the need, and determine the task execution time sequence according to the selected task execution node, namely, a developer only needs to develop a framework supporting the task creation node, the task execution time sequence and the combination of the task execution time sequence, so that the user can flexibly create the task on the basis of the framework according to the need, the developer does not need to develop the task for each person object respectively, the development complexity is reduced, and the flexibility of task creation is improved.
These and other aspects of the invention will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a task execution node for implementing a task processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a task creation node for implementing a task processing method according to an embodiment of the present invention;
FIG. 3 illustrates a task processing method flow diagram according to one embodiment of the invention;
FIG. 4 illustrates a block diagram of a task processing device according to one embodiment of the invention.
Detailed Description
In order to enable those skilled in the art to better understand the present invention, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present invention with reference to the accompanying drawings.
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations occurring in a particular order are included, but it should be understood that the operations may be performed out of order or performed in parallel, the order of operations being 301, 302, etc., merely for distinguishing between the various operations, the order of the operations itself not representing any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The method provided by the embodiment of the invention can be operated on a system consisting of the task creation node and the task execution node. The structure of the task execution node is shown in fig. 1, the structure of the task creation node is shown in fig. 2, and for convenience of explanation, only the portion related to the embodiment of the present invention is shown, and specific technical details are not disclosed, please refer to the method portion of the embodiment of the present invention. The task execution node may include any terminal device such as a personal computer, a mobile phone, a POS (Point of Sales), a car computer, and the like. The task creation node may comprise a personal computer, workstation, server, etc.
The task processing method implemented by the intelligent mobile terminal or the personal computer and crossing programs is described in detail below with reference to the accompanying drawings.
As shown in fig. 3, an embodiment of the present invention provides a cross-program task processing method, which includes the following steps:
step 301, a task creation node selects a plurality of task execution nodes for executing tasks, and acquires information of the selected task execution nodes.
In the embodiment of the invention, the task creation node can select the task execution node according to the indication received by the input device of the node, and can also receive the indication from other nodes to select the task execution node.
In the embodiment of the present invention, the information of the task execution node may include, but is not limited to, identification information and address information of the task execution node.
In the embodiment of the invention, the task creating node selects the task executing node from a pre-established task node template library, and if the task executing node template library does not have the needed task executing node, the information of the task executing node is created and stored in the task executing node module library.
Step 302, the task creation node determines execution time sequence information among the task execution nodes according to the information of the task execution nodes.
In the embodiment of the invention, the task creation node can output the information of the selected task execution node through the output equipment of the node, and determine the execution time sequence information of the task execution node piece according to the indication received by the input equipment of the node; or the task creation node sends the selected task execution node through the communication module of the node, and determines the execution time sequence of the task execution node according to the indication received by the communication module.
Step 303, the task creation node obtains the task form of the task to be executed.
In the embodiment of the invention, the task list comprises a plurality of task list items to be filled in, and the embodiment of the invention does not limit the attribute of the task list items, for example, the task list items can be input boxes, drop-down menus, hook boxes and the like.
Step 304, the task creation node sequentially sends a task form to each task execution node according to the execution time sequence information, wherein the sent task form is a task form updated by the task execution node with the previous execution time sequence.
Specifically, the task creation node firstly sends a task form to the first task execution node, and after the first task execution node completes the task form update, sends the task form to the second task execution node, and so on until all the task execution nodes complete the task form update.
In the embodiment of the invention, the task creation node can determine whether the task execution node completes the update of the task form by receiving the task form returned by the task execution node or not, and can determine that the task execution node has completed the update of the task form according to the completion instruction sent by the task execution node.
The method provided by the embodiment of the invention can select the task execution node according to the need, and determine the task execution time sequence according to the selected task execution node, namely, a developer only needs to develop a framework supporting the task creation node, the task execution time sequence and the combination of the task execution time sequence, so that the user can flexibly create the task on the basis of the framework according to the need, the developer does not need to develop the task for each person object respectively, the development complexity is reduced, and the flexibility of task creation is improved.
In the embodiment of the invention, various realization modes of acquiring the task form of the task to be executed are available, for example, the task form can be created, the existing task form model can be searched, and if the task form model is searched, the task form model does not need to be created again. Correspondingly, the task creation node acquires the task type of the task to be executed; the task creation node searches a task form template corresponding to the task type; after searching a task form template, a task creation node acquires the task list template as a task form; after the task form template is not found, the task creation node creates a task form.
In particular, the task creation node may, but is not limited to, obtain the task type via an input device of the node.
In the method provided by the embodiment of the invention, the task form templates corresponding to different task types can be pre-configured, so that the task form is prevented from being created every time a task is created, and the processing efficiency is improved by multiplexing the task form.
In any of the above method embodiments, the method provided in the embodiments of the present invention may further generate, according to the execution timing information, a pointer corresponding to each task execution node, where the pointer is used to indicate an address of a next task execution node; correspondingly, the task form is sequentially sent to each task execution node according to the execution time sequence information, and the specific implementation manner of the task form may include: the task creation node sequentially reads the pointer corresponding to each task execution node, and sends a task form to the next task execution node according to the address indicated by the pointer.
The method provided by the embodiment of the invention can quickly jump to the address of the task execution node through the pointer, thereby being convenient for quickly searching the task execution node.
In any of the above method embodiments, after receiving the task form, each task execution node may update the task form according to the authority of the task execution node, and return the updated task form to the task creation node.
Specifically, authority level information is set in attribute information of each task item of the task form, each task execution node also stores own task level information, and after receiving the task form, the task execution node reads the authority level information of each item and only updates the item, of which the authority level information is matched with the authority level information of the task execution node. Further, the task execution node may regenerate a temporary form using an entry matching the authority level information of itself, and display the temporary form for the user to perform an update operation.
Or, the attribute information of each task list item of the task list is provided with the identification information of the task execution node, and each task execution node reads the identification information of the task node in each list item and only updates the list item carrying the identification information of the node.
According to the method provided by the embodiment of the invention, the task forms do not need to be respectively established for each task executing node, each task only needs one task form, each executing node updates the task form according to the authority of the executing node, and the reliability of task execution is ensured.
On the basis of any of the above method embodiments, before the updated task form is returned to the task creation node, each task execution node may further input the updated data in the updated task form into a scoring model, obtain a scoring result by using the scoring model, and store the scoring result into the task form, where the scoring model is obtained by training using a known form data sample.
Further, after receiving the task form returned by the last task execution node, the task creation node obtains all scoring results in the task form, and generates scoring results of the task to be executed according to the obtained scoring results.
According to the method provided by the embodiment of the invention, each task execution node automatically scores according to the scoring model, so that the objectivity and efficiency of evaluation are improved.
As shown in fig. 4, an embodiment of the present invention provides a task processing system, including a task creation node 401 and a task execution node 402:
the task creation node 401 includes:
an execution node information acquisition module 4011 for acquiring information of a plurality of task execution nodes of a task to be executed;
an execution timing information determining module 4012 for determining execution timing information among the plurality of task execution nodes according to information of the plurality of task execution nodes;
a task form acquiring module 4013, configured to select a plurality of task execution nodes for a task to be executed, and acquire information of the selected task execution nodes;
a task form transmission module 4014, configured to send a task form to each task execution node in turn according to the execution timing information, where the task form sent is a task form updated by a task execution node in the previous execution timing;
The task execution node 402 includes:
a task form receiving module 4021, configured to receive the task form;
a task form processing module 4022 configured to update the task form;
the task form sending module 4023 is configured to send the updated task form.
The system provided by the embodiment of the invention can select the task execution node according to the need, and determine the task execution time sequence according to the selected task execution node, namely, a developer only needs to develop a framework supporting the task creation node, the task execution time sequence and the combination of the task execution time sequence, so that the user can flexibly create the task on the basis of the framework according to the need, the developer does not need to develop the task for each person object respectively, the development complexity is reduced, and the flexibility of task creation is improved.
The task form acquisition module is used for:
acquiring the task type of the task to be executed;
searching a task form template corresponding to the task type;
after the task list template is searched, the task list template is obtained and used as a task list;
and after the task form template is not found, creating a task form.
In the system provided by the embodiment of the invention, the task form templates corresponding to different task types can be pre-configured, so that the task form is prevented from being created every time a task is created, and the processing efficiency is improved by multiplexing the task form.
The task creation node further comprises a pointer generation module, configured to:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
the task form transmission module is used for:
and sequentially reading pointers corresponding to each task execution node, and sending a task form to the next task execution node according to the addresses indicated by the pointers.
The system provided by the embodiment of the invention can quickly jump to the address of the task execution node through the pointer, thereby being convenient for quickly searching the task execution node.
The task form updating module is used for: and updating the task form according to the authority of the task execution node.
According to the system provided by the embodiment of the invention, the task forms do not need to be respectively established for each task executing node, each task only needs one task form, each executing node updates the task form according to the authority of the executing node, and the reliability of task execution is ensured.
The task execution node further comprises a scoring module, wherein the scoring module is used for:
and inputting updated data in the updated task form into a scoring model, obtaining a scoring result by using the scoring model, and storing the scoring result into the task form, wherein the scoring model is obtained by training a known form data sample.
According to the system provided by the embodiment of the invention, the task forms do not need to be respectively established for each task executing node, each task only needs one task form, each executing node updates the task form according to the authority of the executing node, and the reliability of task execution is ensured.
The task creation node further comprises a scoring result generation module, which is used for:
and after receiving a task form returned by the last task execution node, acquiring all scoring results in the task form, and generating scoring results of the task to be executed according to the acquired scoring results.
According to the system provided by the embodiment of the invention, each task execution node automatically scores according to the scoring model, so that the objectivity and efficiency of evaluation are improved.
FIG. 1 is a block diagram illustrating a portion of the structure of a task execution node associated with an embodiment of a method provided by an embodiment of the present invention. Referring to fig. 1, a task execution node includes: radio Frequency (RF) circuitry 110, memory 120, input unit 130, display unit 11140, sensor 150, audio circuitry 160, wireless-fidelity (Wi-Fi) module 170, processor 180, and power supply 190. Those skilled in the art will appreciate that the task execution node structure shown in fig. 1 does not constitute a limitation of the task execution node, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the task execution node in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, after receiving downlink information of the base station, the downlink information is processed by the processor 180; and, the uplink data is transmitted to the base station. Typically, the RF circuitry 110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuit 110 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message service (Short Messaging Service, SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes the software programs and modules stored in the memory 11120 to perform various functional applications and data processing of the task execution node. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the task performing node, etc. In addition, memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 130 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the task execution node. In particular, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 131 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 131 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 180, and can receive commands from the processor 180 and execute them. In addition, the touch panel 131 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the task performing node. The display unit 140 may include a display panel 141, and alternatively, the display panel 141 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 may cover the display panel 141, and when the touch panel 131 detects a touch operation thereon or thereabout, the touch panel is transferred to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in fig. 1, the touch panel 131 and the display panel 141 implement the input and output functions of the task execution node as two independent components, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the task execution node.
The task performing node can also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the task execution node moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the accelerometer sensor is stationary, and can be used for identifying the application of the gesture of a task execution node (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may be configured for the task execution node are not described in detail herein.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the task execution node. The audio circuit 160 may transmit the received electrical signal converted from audio data to the speaker 161, and the electrical signal is converted into a sound signal by the speaker 161 to be output; on the other hand, microphone 162 converts the collected sound signals into electrical signals, which are received by audio circuit 160 and converted into audio data, which are processed by audio data output processor 180 for transmission to, for example, another task execution node via RF circuit 110, or which are output to memory 120 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and a task execution node can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 170, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 170, it is understood that it does not belong to the necessary constitution of the task execution node, and can be omitted entirely as needed within the scope of not changing the essence of the invention.
The processor 180 is a control center of the task execution node, connects various parts of the entire task execution node using various interfaces and lines, and performs various functions and processes data of the task execution node by running or executing application programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the task execution node. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The task execution node further includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically connected to the processor 180 via a power management system, such as a power management system that performs functions such as managing charge, discharge, and power consumption.
Although not shown, the task execution node may further include a camera, a bluetooth module, etc., which will not be described herein.
Fig. 2 is a block diagram showing a part of the structure of a task creation node related to an embodiment of a method provided by an embodiment of the present invention. Referring to fig. 2, comprising: power supply 210, motherboard 220, central processing unit (Central Precessing Unit, CPU) 230, system bus 240, internal memory 250, disk 260, input unit 270, display unit 280, network card 290, etc. Those skilled in the art will appreciate that the task creation node structure shown in FIG. 2 is not limiting of a personal computer and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the respective constituent elements of the task creation node in detail with reference to fig. 2:
the power supply 110 is used to convert 220V ac to 5V,12V,3.3V dc to supply to each component in the task creation node, and preferably, the power supply may be logically connected to the central processor 230 through a power management system, so that functions of managing charging, discharging, power consumption management, etc. are implemented through the power management system.
The motherboard 220 is a platform on which each component in the task creation node works, provides an electrical connection path between the components, performs electrical signal transmission through the motherboard, and is mounted on the motherboard by plugging, welding, or the like.
The central processor 230 is a control center of the task creation node, and mainly includes an arithmetic logic unit (ALU, arithmetic Logic Unit) 231, a Program Counter (PC) 232, a register group 233, a Cache memory (Cache) 234, and a Bus (Bus) interface 235 for transferring data, control, and status. Among them, the arithmetic logic operation unit 231 performs various arithmetic and logical operation operations including addition, subtraction, multiplication, division by four operations, and, or, not, exclusive or, shift operations, and relational and logical operations. Program counter 232 is a register in the control unit of cpu 230 for storing the address of the next instruction; the register set 233 includes general-purpose registers, special-purpose registers, and control registers. Registers have very high read and write speeds, so data transfer between registers is very fast. The cache 234 is a high-speed low-capacity memory composed of SRAM (Static Random Access Memory ) for caching general instructions and data. Bus interface 235 is used to transfer information between central processor 230 and other components. The central processor 230 performs various functions of the task creation node and processes data by running or executing an application program stored in the internal memory 250 or the disk 260 and calling data stored in the internal memory 250 or the disk 260, thereby performing overall monitoring.
The system bus 240 is a common communications backbone that carries information between the various components of the task creation node, and is a transmission harness made up of wires. According to the kind of information transmitted by the task creation node, the system Bus may be divided into a Data Bus (Data Bus), an Address Bus (Address Bus), and a Control Bus (Control Bus) for transmitting Data, data Address, and Control signals, respectively.
The internal memory 250 is an electronic memory device, and is composed of a circuit board and a chip, and is characterized by small volume, high speed, electricity-capable storage and no electricity-capable emptying, i.e. the task creation node can store data in the memory in the starting-up state, and all data in the memory can be automatically emptied after the task creation node is shut down. The internal memory 250 may be divided into SDRAM (Synchronous Dynamic Random Access Memory) memory and DDR (Double Data Rate) memory. The application and associated data are first read into the internal memory 250, and the central processor 230 reads and loads the application from the internal memory 250.
Disk 260, also known as external memory, holds the operating system, applications, data, etc. required for the task creating node to run, without losing data as the task creating node is powered down.
The input unit 270 may be used to receive input numeric or character information and to generate key signal inputs related to user settings of the task creation node and function control. The input unit specifically further comprises an I/O controller and an input device, wherein the I/O controller is configured to adapt signals of the input device and transmit the signals to the system bus. The input unit 270 may be divided into a mouse 271, a keyboard 272, a touch panel 273, and the like.
The display unit 280 may be used to display information input by a user or information provided to the user and various menus of the task creation node. The display unit 280 may include a display card 281 and a display 282. Further, the touch panel 273 may cover the display panel of the display 282, and when the touch panel 273 detects a touch operation thereon or thereabout, the touch operation is transmitted to the central processor 230 to determine the type of touch event, and then the processor 230 provides a corresponding visual output on the display panel of the display 282 according to the type of touch event. Although in fig. 2, the touch panel 273 and the display 282 are two separate components to implement the input and output functions of the task creation node, in some embodiments, the touch panel 273 may be integrated with the display panel of the display 282 to implement the input and output functions of the task creation node.
The network card 290 is a network element operating in the data link layer and is an interface for connecting a personal computer to a transmission medium in a local area network. The network card 290 may be divided into a wired network card and a wireless network card.
Although not shown, the task creation node may further include an input/output unit such as a sound card, a speaker, a microphone, a camera, and a communication unit such as a bluetooth module, which will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program to instruct related hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in implementing the methods of the above embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, where the storage medium may be a read only memory, a magnetic disk or optical disk, etc.
While the foregoing describes a computer device provided by the present invention in detail, those skilled in the art will appreciate that the foregoing description is not meant to limit the invention thereto, as long as the scope of the invention is defined by the claims appended hereto.
The invention discloses a method for preparing a composite material, which comprises the following steps: a1, a task processing method is characterized by comprising the following steps:
the task creation node selects a plurality of task execution nodes of a task to be executed and acquires information of the selected task execution nodes;
the task creation node determines execution time sequence information among a plurality of task execution nodes according to the information of the task execution nodes;
the task creation node acquires a task form of the task to be executed;
the task creation node sequentially sends a task form to each task execution node according to the execution time sequence information, wherein the sent task form is a task form updated by the task execution node with the last execution time sequence.
A2, the method according to A1, wherein the task creation node obtains the task form of the task to be executed, and the method comprises the following steps:
the task creation node acquires the task type of the task to be executed;
Searching a task form template corresponding to the task type;
after a task form template is searched, acquiring the task list template as a task form;
and after the task form template is not found, creating a task form.
A3, the method according to A1 or A2, further comprising:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
the task creation node sends a task form to each task execution node in turn according to the execution time sequence information, and the task creation node comprises:
and the task creation node sequentially reads the pointer corresponding to each task execution node and sends a task form to the next task execution node according to the address indicated by the pointer.
The method according to A4, A1 or A2, further comprising:
after each task execution node receives the task form, updating the task form according to the authority of the task execution node, and returning the updated task form to the task creation node.
5. The method of A4, wherein before returning the updated task form to the task creation node, the method further comprises:
And each task execution node inputs the updated data in the updated task form into a scoring model, a scoring result is obtained by using the scoring model, the scoring result is stored in the task form, and the scoring model is obtained by training a known form data sample.
The method according to A6, wherein the method further comprises:
and the task creation node acquires all scoring results in the task form after receiving the task form returned by the last task execution node, and generates the scoring result of the task to be executed according to the acquired scoring result.
B7, a task processing system is characterized by comprising a task creation node and a task execution node:
the task creation node includes:
the execution node information acquisition module is used for selecting a plurality of task execution nodes of a task to be executed and acquiring information of the selected task execution nodes;
the execution time sequence information determining module is used for determining execution time sequence information among the plurality of task execution nodes according to the information of the plurality of task execution nodes;
the task form acquisition module is used for acquiring the task form of the task to be executed;
The task form transmission module is used for sequentially transmitting a task form to each task execution node according to the execution time sequence information, wherein the transmitted task form is a task form updated by the task execution node with the last execution time sequence;
the task execution node includes:
the task form receiving module is used for receiving the task form;
the task form processing module is used for updating the task form;
and the task form sending module is used for sending the updated task form.
B8, the device according to B7, wherein the task form acquisition module is configured to:
acquiring the task type of the task to be executed;
searching a task form template corresponding to the task type;
after a task form template is searched, acquiring the task list template as a task form;
and after the task form template is not found, creating a task form.
B9, the apparatus according to B7 or B8, wherein the task creation node further includes a pointer generation module configured to:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
The task form transmission module is used for:
and sequentially reading pointers corresponding to each task execution node, and sending a task form to the next task execution node according to the addresses indicated by the pointers.
B10, the apparatus according to B7 or B8, wherein the task form update module is configured to: and updating the task form according to the authority of the task execution node.
B11, the apparatus according to B10, wherein the task execution node further includes a scoring module configured to:
and inputting updated data in the updated task form into a scoring model, obtaining a scoring result by using the scoring model, and storing the scoring result into the task form, wherein the scoring model is obtained by training a known form data sample.
B12, the apparatus according to B11, wherein the task creation node further includes a scoring result generating module configured to:
and after receiving a task form returned by the last task execution node, acquiring all scoring results in the task form, and generating scoring results of the task to be executed according to the acquired scoring results.
C13. a computer system comprising a plurality of processors and memory:
The plurality of memories are used for storing programs for executing the method of any one of A1 to A6;
the plurality of processors are configured to execute programs stored in the memory.

Claims (13)

1. A method of task processing, comprising:
the task creation node selects a plurality of task execution nodes of a task to be executed and acquires information of the selected task execution nodes;
the task creation node determines execution time sequence information among a plurality of task execution nodes according to the information of the task execution nodes;
the task creation node acquires a task form of the task to be executed;
the task creation node sequentially sends a task form to each task execution node according to the execution time sequence information, wherein the sent task form is a task form updated by the task execution node with the last execution time sequence.
2. The method of claim 1, wherein the task creation node obtaining a task form of the task to be performed comprises:
the task creation node acquires the task type of the task to be executed;
searching a task form template corresponding to the task type;
after a task form template is searched, acquiring the task form template as a task form;
And after the task form template is not found, creating a task form.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
the task creation node sends a task form to each task execution node in turn according to the execution time sequence information, and the task creation node comprises:
and the task creation node sequentially reads the pointer corresponding to each task execution node and sends a task form to the next task execution node according to the address indicated by the pointer.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
after each task execution node receives the task form, updating the task form according to the authority of the task execution node, and returning the updated task form to the task creation node.
5. The method of claim 4, wherein before returning the updated task form to the task creation node, the method further comprises:
and each task execution node inputs the updated data in the updated task form into a scoring model, a scoring result is obtained by using the scoring model, the scoring result is stored in the task form, and the scoring model is obtained by training a known form data sample.
6. The method of claim 5, further comprising:
and the task creation node acquires all scoring results in the task form after receiving the task form returned by the last task execution node, and generates the scoring result of the task to be executed according to the acquired scoring result.
7. A task processing system comprising a task creation node and a task execution node:
the task creation node includes:
the execution node information acquisition module is used for selecting a plurality of task execution nodes of a task to be executed and acquiring information of the selected task execution nodes;
the execution time sequence information determining module is used for determining execution time sequence information among the plurality of task execution nodes according to the information of the plurality of task execution nodes;
the task form acquisition module is used for acquiring the task form of the task to be executed;
the task form transmission module is used for sequentially transmitting a task form to each task execution node according to the execution time sequence information, wherein the transmitted task form is a task form updated by the task execution node with the last execution time sequence;
the task execution node includes:
The task form receiving module is used for receiving the task form;
the task form processing module is used for updating the task form;
and the task form sending module is used for sending the updated task form.
8. The system of claim 7, wherein the task form acquisition module is configured to:
acquiring the task type of the task to be executed;
searching a task form template corresponding to the task type;
after a task form template is searched, acquiring the task form template as a task form;
and after the task form template is not found, creating a task form.
9. The system according to claim 7 or 8, wherein the task creation node further comprises a pointer generation module for:
generating a pointer corresponding to each task execution node according to the execution time sequence information, wherein the pointer is used for indicating the address of the next task execution node;
the task form transmission module is used for:
and sequentially reading pointers corresponding to each task execution node, and sending a task form to the next task execution node according to the addresses indicated by the pointers.
10. The system of claim 7 or 8, wherein the task form update module is configured to: and updating the task form according to the authority of the task execution node.
11. The system of claim 10, wherein the task execution node further comprises a scoring module for:
and inputting updated data in the updated task form into a scoring model, obtaining a scoring result by using the scoring model, and storing the scoring result into the task form, wherein the scoring model is obtained by training a known form data sample.
12. The system of claim 11, wherein the task creation node further comprises a scoring result generation module to:
and after receiving a task form returned by the last task execution node, acquiring all scoring results in the task form, and generating scoring results of the task to be executed according to the acquired scoring results.
13. A computer system comprising a plurality of processors and memory:
the plurality of memories is used for storing programs for executing the method of any of claims 1 to 6;
the plurality of processors are configured to execute programs stored in the memory.
CN201811192219.0A 2018-10-12 2018-10-12 Task processing method, device and system Active CN109471708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811192219.0A CN109471708B (en) 2018-10-12 2018-10-12 Task processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811192219.0A CN109471708B (en) 2018-10-12 2018-10-12 Task processing method, device and system

Publications (2)

Publication Number Publication Date
CN109471708A CN109471708A (en) 2019-03-15
CN109471708B true CN109471708B (en) 2023-10-31

Family

ID=65663636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811192219.0A Active CN109471708B (en) 2018-10-12 2018-10-12 Task processing method, device and system

Country Status (1)

Country Link
CN (1) CN109471708B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287009A (en) * 2019-05-28 2019-09-27 北京大米科技有限公司 A kind of working node selection method, device, storage medium and server

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000027063A2 (en) * 1998-10-29 2000-05-11 Genesys Telecommunications Laboratories, Inc. Interface engine for managing business processes within a multimedia communication-center
CN101819529A (en) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 System and method for realizing visual development of workflow task interface
CN103218215A (en) * 2007-01-16 2013-07-24 吉兹莫克斯有限公司 Method and system for creating IT-oriented server-based web applications
CN106164851A (en) * 2013-06-27 2016-11-23 微软技术许可有限责任公司 Based on the automatically configuring of computer system that the process realized is carried out process model building
CN106462453A (en) * 2014-05-30 2017-02-22 苹果公司 Dynamic adjustment of mobile device based on peer event data
CN106814993A (en) * 2015-12-01 2017-06-09 广州神马移动信息科技有限公司 The method for determining the task scheduling time is, the method and apparatus for determining task execution time
CN106910045A (en) * 2017-03-02 2017-06-30 重庆砖家宝网络科技发展有限公司 Design of Workflow method and system
CN107220076A (en) * 2016-09-27 2017-09-29 华为技术有限公司 A kind of method for recovering internal storage and device
CN107343000A (en) * 2017-07-04 2017-11-10 北京百度网讯科技有限公司 Method and apparatus for handling task
GB201717304D0 (en) * 2017-10-20 2017-12-06 Graphcore Ltd Compiler method
CN108256715A (en) * 2016-12-29 2018-07-06 方正国际软件(北京)有限公司 A kind of Workflow management method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000027063A2 (en) * 1998-10-29 2000-05-11 Genesys Telecommunications Laboratories, Inc. Interface engine for managing business processes within a multimedia communication-center
CN103218215A (en) * 2007-01-16 2013-07-24 吉兹莫克斯有限公司 Method and system for creating IT-oriented server-based web applications
CN101819529A (en) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 System and method for realizing visual development of workflow task interface
CN106164851A (en) * 2013-06-27 2016-11-23 微软技术许可有限责任公司 Based on the automatically configuring of computer system that the process realized is carried out process model building
CN106462453A (en) * 2014-05-30 2017-02-22 苹果公司 Dynamic adjustment of mobile device based on peer event data
CN106814993A (en) * 2015-12-01 2017-06-09 广州神马移动信息科技有限公司 The method for determining the task scheduling time is, the method and apparatus for determining task execution time
CN107220076A (en) * 2016-09-27 2017-09-29 华为技术有限公司 A kind of method for recovering internal storage and device
CN108256715A (en) * 2016-12-29 2018-07-06 方正国际软件(北京)有限公司 A kind of Workflow management method and system
CN106910045A (en) * 2017-03-02 2017-06-30 重庆砖家宝网络科技发展有限公司 Design of Workflow method and system
CN107343000A (en) * 2017-07-04 2017-11-10 北京百度网讯科技有限公司 Method and apparatus for handling task
GB201717304D0 (en) * 2017-10-20 2017-12-06 Graphcore Ltd Compiler method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
陈赞.基于工作流引擎的统一业务流程中心的设计与实现.《中国优秀硕士学位论文全文数据库信息科技辑》.2018,(第04期),I138-436. *
面向审批业务的Web自定义工作流模型研究与实现;刘林林;《中国优秀硕士学位论文全文数据库 信息科技辑》(第04期);I139-409 *

Also Published As

Publication number Publication date
CN109471708A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN108415739B (en) Hook method and device for dynamic link library function and storage medium
CN104618217B (en) Share method, terminal, server and the system of resource
CN104852885B (en) Method, device and system for verifying verification code
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN106502703B (en) Function calling method and device
CN106708554B (en) Program operating method and device
US10317931B2 (en) Method for managing multi-core processor, and apparatus
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN105868319B (en) Webpage loading method and device
CN109067981A (en) Split screen application switching method, device, storage medium and electronic equipment
CN111966491B (en) Method for counting occupied memory and terminal equipment
CN111104425A (en) Data processing method and device
CN111459565B (en) Client page rendering method and device and mobile terminal
CN105550316A (en) Pushing method and device of audio list
CN114999604A (en) Visit report generation method and device for clinical research project
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN109246233A (en) Data processing method, device, equipment and storage medium based on on-line monitoring
CN109344035A (en) A kind of progress control method of application program, device, equipment and storage medium
CN103729283B (en) System log output method and device and terminal device
CN106919458A (en) The method and device of Hook target kernel functions
CN109471708B (en) Task processing method, device and system
CN111359210B (en) Data processing method and device, electronic equipment and storage medium
CN106709330B (en) Method and device for recording file execution behaviors
CN107943687B (en) Equipment sharing method, device, server and storage medium
CN110401691A (en) A kind of resource downloading control method, device and terminal

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