Unlock instant, AI-driven research and patent intelligence for your innovation.

A task execution method and device

A task execution and task technology, applied in the field of network communication, can solve problems such as disk confusion and occupation of system resources, and achieve the effect of avoiding object confusion and saving thread resources.

Active Publication Date: 2019-06-07
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above-mentioned solution for performing log writing operations has the advantage of light coupling. However, multiple application modules need to occupy corresponding system resources, and when multiple application modules write logs to the server’s disk at the same time, it is easy to cause disk confusion.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A task execution method and device
  • A task execution method and device
  • A task execution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] refer to figure 1 , which shows a schematic flow chart of the steps of a task execution method according to an embodiment of the present invention, which may specifically include the following steps:

[0053] Step 101, receiving tasks from multiple application modules;

[0054] Step 102, writing the task into a buffer; and

[0055] Step 103, read the task from the buffer, and execute the task with a single thread.

[0056...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the invention provides a task execution method and a task execution device. The task execution method specifically comprises the following steps of receiving tasks from a plurality of application modules; writing the tasks in a buffering region; reading the tasks from the buffering region; and executing the tasks by using a single thread. According to the embodiment of the invention, system resources such as thread resources can be saved effectively. Moreover, the tasks are executed by the singe thread, and the problem of confusion of an object when the object is operated by multiple threads jointly can be solved.

Description

technical field [0001] The present invention relates to the technical field of network communication, in particular to a task execution method and device. Background technique [0002] The server's log is a database that records the information of the server at all times. Logs can be divided into application logs, security logs, and system logs according to their content. Among them, the application program log is mainly used to record the running information of the application program on the server, and the security log is mainly used to record all the behavior information of the server user during the login process, such as when and which web page is accessed, whether there is a favorite web page, etc.; the system The log is mainly used to record the running status of the server system program. [0003] In the existing solution, the operation of writing logs to the disk of the server is performed by each application module. For example, the application modules correspond...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06G06F9/48
CPCG06F3/0656G06F3/0659G06F9/4881
Inventor 陈宗志王超陈营李明昊宋昭
Owner BEIJING QIHOO TECH CO LTD