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

Browser message processing method and device

A message processing and browser technology, applied in the field of Windows message processing, can solve the problems of operation failure, real-time external events not being processed in time, affecting the realization of application functions, etc., to achieve the effect of flexible processing

Inactive Publication Date: 2014-12-17
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the Windows operating system, messages are not preemptive, that is, regardless of the priority of events, they are always processed in the order of arrival (except for some system messages), which may cause some adverse effects
For example, some real-time external events may not be processed in time, affecting the realization of specific functions of the application
For example, for a browser, the application is a web browsing tool that requires frequent interaction with the user. When the user triggers some external events, if they are not processed for a long time, some operations may be invalidated, etc.

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
  • Browser message processing method and device
  • Browser message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0040] see figure 1 , the embodiment of the present invention firstly provides a browser message processing method, which can be applied to an application program (the application program can be an application program developed to realize the message processing function, or can be an existing Add the message processing function on the basis of the browser, etc.), during specific implementation, the method may include the following steps:

[0041] S101: The application program creates a messa...

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 a browser message processing method and device, wherein the method comprises the following steps that an application program creates a message queue; all current messages are taken out from a message queue created by an operating system for a browser thread, and are put into the message queue created by the application program; whether messages conforming to preset conditions exist in the taken message or not is judged, and if so, the messages conforming to the preset conditions are subjected to sequence regulation; each message is distributed to a corresponding window of a browser to be processed according to the sequences of all messages in the message queue created by the application program. According to the method and the device provided by the invention, the browser messages can be more flexibly processed, so that the functions of the browser can be better realized.

Description

technical field [0001] The invention relates to the technical field of Windows message processing, in particular to a browser message processing method and device. Background technique [0002] The Windows operating system is a message (Message) driven system. Windows messages provide a means of communication between applications and between applications and the Windows operating system. The functions that applications want to achieve are triggered by messages and completed by responding to and processing messages. [0003] All input devices of the computer are uniformly monitored by Windows. When an event occurs, Windows first puts the input message into the system message queue, and then copies the message to the corresponding thread message queue of the application. The message processing program of the application program will repeatedly detect the message queue, and after converting the detected messages, distribute them to the corresponding window functions, and the ...

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 Applications(China)
IPC IPC(8): G06F9/46
Inventor 唐曦孙鹏
Owner BEIJING QIHOO TECH 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