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

Medal loading method for live broadcast APP, storage medium, electronic equipment and system

An APP startup and medal technology, applied in transmission systems, electrical components, image communication, etc., can solve the problems of consuming user traffic and poor real-time performance, and achieve the effect of saving traffic and fast loading

Active Publication Date: 2020-05-05
WUHAN DOUYU NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the commonly used method to obtain medal pictures is to push a message from the server to the user's client. The message contains the address of the medal, and after getting the address, download the corresponding medal. This method of obtaining medal pictures has some disadvantages , For example, every time the medal is changed, the corresponding medal image must be downloaded, that is, when the user needs to use the same medal multiple times, the medal image needs to be re-downloaded from the server each time, which will consume the user's traffic, and after receiving There is a delay in downloading the download address of the pictures of these medals. There is a shortcoming of poor real-time performance. The user will display the picture after receiving the message. If the network is slow, the delay will be longer

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
  • Medal loading method for live broadcast APP, storage medium, electronic equipment and system
  • Medal loading method for live broadcast APP, storage medium, electronic equipment and system
  • Medal loading method for live broadcast APP, storage medium, electronic equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] An embodiment of the present invention provides a medal loading method for a live APP, such as figure 1 shown, which includes:

[0053] When the S100 Live APP starts, obtain the medal data of all medals from the server, and extract the medal ID, medal picture address and medal text from the medal data;

[0054] S200 stores the medal picture address and medal text corresponding to each medal ID in the corresponding sub-dictionary, stores the sub-dictionary and the medal ID in the general dictionary, and establishes the relationship between the sub-dictionary and the medal ID Correspondence;

[0055] S300 downloading the medal picture from the server according to the medal picture address, and using the medal picture address corresponding to the medal picture as a key, storing the downloaded medal picture in a local folder;

[0056] S400 Obtain the medal ID corresponding to the medal picture that needs to be loaded, find the corresponding sub-dictionary in the general d...

Embodiment 2

[0082] A medal loading system for live APP, such as Image 6 Shown include:

[0083] Obtaining module 10, for when the live broadcast APP starts, obtain the medal data of all medals from the server, and extract the medal ID, medal picture address and medal text of the medal from the medal data;

[0084] The storage module 20 is used to store the medal image address and the medal text corresponding to each medal ID in the corresponding sub-dictionary, store the sub-dictionary and the medal ID in the general dictionary, and set up the sub-dictionary and The corresponding relationship of the medal ID; the address of the medal image is of type url;

[0085] The download module 30 is used to download the medal picture from the server according to the medal picture address, and store the downloaded medal picture in a local folder with the medal picture address corresponding to the medal picture as a keyword;

[0086] The loading module 40 is used to obtain the medal ID correspondi...

Embodiment 3

[0102] The third embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, all or part of the method steps in the first embodiment are implemented.

[0103] In the present invention, all or part of the process in the method of the first embodiment above can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the steps in the foregoing method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an op...

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 medal loading method of a live broadcast APP, a storage medium, electronic equipment and a system, and relates to the field of mobile terminal application programs. The method comprises the steps: when the live broadcast APP is started, obtaining medal data of a medal from a server, and extracting a medal ID, a medal picture address and a medal text of the medal from themedal data; storing the medal picture address and the medal text corresponding to each medal ID in a corresponding sub-dictionary, storing the sub-dictionary and the medal ID in a total dictionary, and establishing a corresponding relationship between the sub-dictionary and the medal ID; and downloading the medal picture from the server according to the medal picture address, and storing the downloaded medal picture in a local folder by taking the medal picture address corresponding to the medal picture as a keyword. According to the invention, even if the network is not good, the picture canbe rapidly loaded without time delay; and meanwhile, the picture downloaded to the local can be repeatedly used and does not need to be downloaded from the server every time the picture is loaded, sothat the flow of a user is saved.

Description

technical field [0001] The present invention relates to the technical field of mobile terminal applications, in particular to a medal loading method, storage medium, electronic equipment and system for a live APP. Background technique [0002] With the rapid development of mobile phones, more and more people like to watch live broadcasts on mobile phones. In order to enrich the user experience, there are some pictures of medals in the live broadcast app. These medals refer to the titles given to users who watch live broadcasts. , For example, these users are enthusiasts, fan cards, first-time depositors, spiritual shareholders and so on. At present, the commonly used method to obtain medal pictures is to push a message from the server to the user's client. The message contains the address of the medal, and after getting the address, download the corresponding medal. This method of obtaining medal pictures has some disadvantages , For example, every time the medal is changed...

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): H04N21/433H04N21/435H04N21/443H04N21/858H04N21/81H04N21/2187H04L29/08
CPCH04N21/433H04N21/435H04N21/443H04N21/8586H04N21/8126H04N21/2187H04L67/06
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