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

Method and device for processing client task and electronic equipment

A client and task technology, applied in the computer field, can solve problems such as time-consuming, no further optimization, and inability to perform additional tasks in a timely manner, achieving the effect of shortening the time interval and speeding up feedback

Pending Publication Date: 2020-10-16
上海淇毓信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At the same time, due to the industry's need for optimized code, the existing method is often to implant timing functions and functions for grabbing the stack in the code of the main thread, so that, in addition to executing message processing tasks, it is possible to grab and execute message processing The stack data generated during the task and the time consumption of the task can be used to analyze the time-consuming distribution of the task in the future, and then analyze whether there is any possibility of further optimization
[0004] However, since the process of timing and grabbing the stack also takes a certain amount of time, the additional tasks cannot be performed in time. Therefore, if a new method can be proposed to enable the additional tasks to be performed in time, it will speed up the user operation. Feedback process to improve user experience

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
  • Method and device for processing client task and electronic equipment
  • Method and device for processing client task and electronic equipment
  • Method and device for processing client task and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, example embodiments may be embodied in many forms, and this invention should not be construed as limited to the embodiments set forth herein. On the contrary, providing these exemplary embodiments can make the present invention more comprehensive and complete, and facilitate the full transfer of the inventive concept to those skilled in the art. The same reference numerals denote the same or similar elements, components or parts in the drawings, and thus their repeated descriptions will be omitted.

[0073] On the premise of conforming to the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.

[0074] In the description of the specific embodiments, the featu...

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

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method for processing a client task. A client creations a main thread, the main thread only executes the message processing task triggered by a user operation; meanwhile, starting and finishing information are sent to a process extractor at the starting and ending moments of executing the message processing task; therefore, the process data in the processof executing the message processing task can be extracted (the process duration of executing the message processing task by the main thread is determined based on the received starting information and ending information, and the stack data generated in the process of executing the message processing task is extracted) by the process extractor; additional tasks of the message processing task may then be performed in response to the completion of the message processing task. The main thread does not need to extract the process data personally, so that the time interval from the starting momentto the ending moment in the process of executing the message processing task is shortened, the additional task can be executed in time, and the feedback of user operation is accelerated.

Description

technical field [0001] The present application relates to the computer field, in particular to a method, device and electronic equipment for processing client tasks. Background technique [0002] The client's processing of user operations is mostly to create a main thread to execute corresponding message processing tasks. After these tasks are executed, the data generated or obtained by these execution tasks is used to return user operations in the form of additional services to complete the related tasks. User interaction process. [0003] At the same time, due to the industry's need for optimized code, the existing method is often to implant timing functions and functions for grabbing the stack in the code of the main thread, so that, in addition to executing message processing tasks, it is possible to grab and execute message processing The stack data generated during the task and the time consumption of the task can be used to analyze the time-consuming distribution of ...

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
IPC IPC(8): G06F9/54G06F9/50
CPCG06F9/542G06F9/546G06F9/5027
Inventor 陈友丘晓强
Owner 上海淇毓信息科技有限公司