A message processing method and device

A message processing and message technology, applied in the information field, can solve problems such as affecting effects and freezing

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

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a message processing method and device, which can solve the problem of "stuck" caused by the process corresponding to the simulation program caused by the phenomenon of "stuck" in the target window, and solve the problem of "stuck" when the simulation program does not wait for the target window. Execute the next simulation operation after processing the message, resulting in the problem that the effect of the next simulation operation is affected by the execution too fast

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] 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. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0022] The embodiment of the present invention provides a message processing method, the execution subject of the method may be the process corresponding to the simulation program, such as figure 1 As shown, the method includes:

[0023] Step 101, sending a message corresponding to the simulated operation to a target window in a mailing manner, so that the target window can receive and process the message.

[0024] Optionally, before this step, the process corresp...

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 message processing method and device, and relates to the field of information technology. A phenomenon that a process corresponding to a simulation program is stuck since a target window is stuck can be solved, and a problem that a change in the state of the target window causes influence on the processing, carried out by the process corresponding to the simulation program, of next simulation operation is avoided. The message processing method comprises the following steps: sending a message corresponding to the simulation operation to the target window in a post manner; sending a timing message to an auxiliary window created by the target window in the post manner, wherein the auxiliary window and the target window are in the same process, and the auxiliary window and the target window correspond to the same message queue; and setting preset time, and continuously executing next simulation operation when a situation that the auxiliary window receives the timing message is obtained within the preset time. The message processing method and device is suitable to be adopted during message processing.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a message processing method and device. Background technique [0002] There are two ways to send messages in Windows: one is synchronous, that is, after the message is sent to the target window by calling the SendMessage function, after the target window finishes processing the message, the response message is returned to the corresponding process of the simulation program, In order for the process corresponding to the simulation program to perform the next simulation operation; one is an asynchronous method, that is, after the message is sent to the target window by calling PostMessage, the process corresponding to the simulation program directly performs the next simulation operation. For example, a first menu bar has been displayed in the target window, and the expected effect is: when the user clicks the right button on a blank area outside the first menu bar in ...

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): G06F9/48
Inventor 潘在亮赖勇辉
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products