Method and device for automatically synchronizing user interface (UI) threads

A user interface and automatic synchronization technology, applied in the Internet field, can solve the problems of large amount of coding, cumbersome, complicated programs, etc., and achieve the effect of reducing complexity and coding amount

Active Publication Date: 2015-12-16
SHENZHEN YUNZHIJIA NETWORK CO LTD
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, each update UI function must correspond to a custom message, which is obviously too cumbersome, resulting in complicated programs and a large amount of coding

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 automatically synchronizing user interface (UI) threads
  • Method and device for automatically synchronizing user interface (UI) threads
  • Method and device for automatically synchronizing user interface (UI) threads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Embodiments of the present invention provide a method and device for automatically synchronizing user interface UI threads, which can save the step of customizing messages and reduce program complexity and coding amount.

[0046] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0047] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of th...

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 discloses a method and device for automatically synchronizing user interface (UI) threads. The step of defining messages by a user can be omitted, and the program complexity and coding amount are reduced. The method includes the steps that a UI updating function to be executed and parameters of the UI updating function are stored in a predefined window templated class; the UI updating function and the parameters of the UI updating function are called from the window templated class and carried through fixed window information; the window information is transmitted to a window handle of the window templated class; the window information is received, and the UI updating function in the window information is executed according to the parameters of the UI updating function.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for automatically synchronizing user interface (UI) threads. Background technique [0002] In the Windows programming of the Windows operating system, if the function for operating the UI update is called in the worker thread, it will cause unpredictable results or exit abnormally. [0003] The current practice is that the programmer manually codes to specify the message type and the message processing function, and then calls the UI update function in the message processing function to perform the UI update operation. [0004] However, each update UI function must correspond to a custom message, which is obviously too cumbersome, resulting in complicated programs and a large amount of coding. Contents of the invention [0005] Embodiments of the present invention provide a method and device for automatically synchronizing user interface UI threads, wh...

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/44
Inventor 任明星
Owner SHENZHEN YUNZHIJIA NETWORK 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