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

Picture loading method and device

A picture loading and picture technology, which is applied in the direction of instruments, electrical digital data processing, data processing input/output process, etc., can solve the problems of time-consuming dynamic pictures, poor maintainability, and difficult development.

Active Publication Date: 2018-07-24
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the above-mentioned problems that the loading of dynamic pictures in the buttons takes a lot of time, is difficult to develop, and has poor maintainability, or at least partly solves the above problems, the present invention provides a method and device for loading pictures

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
  • Picture loading method and device
  • Picture loading method and device
  • Picture loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0043] In one embodiment of the present invention, a picture loading method is provided, figure 1 It is a schematic diagram of the overall process flow of the picture loading method provided by the embodiment of the present invention, the method includes: S1, when the mouse operation of the original picture is obtained, according to the mouse event of the original picture, the state of the target picture corresponding to the mouse event is obtained; wherein , the mouse event is associated and stored in advance with the corresponding target picture state; S2, according to the target picture state, obtain the target picture url corresponding to the target picture state; wher...

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 provides a picture loading method and device. The method includes: S1, when a mouse operation of an original picture is acquired, acquiring target picture status, which corresponds to the mouse event, according to a mouse event of the original picture, wherein the mouse event is pre-stored in a manner of association with the corresponding target picture status; S2, acquiring target picture url, which corresponds to the target picture status, according to the target picture status, wherein the target picture status is pre-stored in a manner of association with the corresponding target picture url; and S3, calling a pre-created picture loading method in a classification of UIButton according to the target picture status and the target picture url to load a target picture. According to the method, automatic loading of the target picture is realized, use is simple, loading speed is high, and a code reuse rate and development efficiency are improved.

Description

technical field [0001] The invention belongs to the field of application development, and more specifically relates to a method and device for loading pictures. Background technique [0002] With the rapid development of mobile phones, the types of application software are becoming more and more abundant, and the interaction between products and users is becoming stronger and stronger. In order to enhance the user experience and enrich the marketing methods of the application software, various types of advertisement images are displayed in various ways in the application software. [0003] At present, many pictures are displayed in the form of links, and when a picture is clicked, the corresponding page can be entered. The style of the picture will change dynamically, for example, the picture displayed in the button is different during different festivals. In addition, the style of the picture will change with the click state of the mouse. For example, when the mouse is pl...

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): G06F3/0487G06F3/0481
CPCG06F3/0481G06F3/0487
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK 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