Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Incident response method and apparatus

An event response and event technology, applied in multi-programming devices, website content management, instruments, etc., can solve problems such as slowness and time-consuming response of event response mechanisms, and achieve the effect of improving response efficiency

Active Publication Date: 2019-08-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of serious time-consuming and slow response in the existing event response mechanism of the browser, the embodiment of the present invention provides an event response method and device

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
  • Incident response method and apparatus
  • Incident response method and apparatus
  • Incident response method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0022] Please refer to figure 1 , which shows a method flowchart of an event response method provided by an embodiment of the present invention, and this embodiment is illustrated by taking the event response method applied to a browser running in a multi-threaded environment. The incident response method may include the following steps:

[0023] In step 102, the event object corresponding to the user operation is obtained through the UI thread.

[0024] In step 104, it is detected through the UI thread whether the event object needs to be passed to the kernel thread.

[0025] Step 106, if the detection result is that the event object does not need to be delivered to the kernel thread, respond to the event object through the UI threa...

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

PUM

No PUM Login to View More

Abstract

The invention discloses an event responding method and device and belongs to the field of a mobile terminal. The method comprises the steps: acquiring event objects corresponding to user operation through a UI (User Interface) thread; detecting whether the event objects need to be transmitted to an kernel thread or not through the UI thread; if the detected result is that the event objects do not need to be transmitted to the kernel thread, responding the event objects through the UI thread. The event responding method solves the problems of serious time-consuming and slow responding in the present event responding mechanism of a browser; after the event objects corresponding to the user operation are acquired through the UI thread, the UI thread directly detects whether the event objects need to be transmitted to the kernel thread, thus time consumption of transmitting each event object to the kernel thread for judgment is omitted and response efficiency of the browser to the user operation is greatly improved.

Description

technical field [0001] The present invention relates to the field of mobile terminals, in particular to an event response method and device. Background technique [0002] Browsers installed in electronic devices such as mobile phones and tablet computers usually run in a multi-threaded environment. When the browser starts, the system first creates a UI (User Interface, user interface) thread. The UI thread is mainly responsible for receiving user operation events, drawing pages, and displaying page content on the screen. After the browser is started, the system will also create a kernel thread, which is mainly responsible for completing tasks such as parsing and typesetting the page content, and executing JavaScript script files. [0003] Taking the response of a browser to a touch event as an example, when a user browses a webpage with a browser installed in an electronic device, touching a certain position on the current page generates a trigger signal. After the electro...

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/0484G06F9/48G06F16/958
Inventor 李思广
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products