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

Sticker function framework realization method and device

A technology of functional framework and implementation method, applied in the computer field, can solve the problems of lack of scalability and maintainability of software, complex business logic, memory leakage, etc., to improve scalability and maintainability, simplify business logic, The effect of avoiding memory leaks

Pending Publication Date: 2018-01-09
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the traditional solution above, the control layer C directly holds the instance reference relationship between the data layer M and the view layer V, which will make the business logic in the control layer C very complicated, and make the software not scalable and maintainable; in addition, Because the control layer C directly holds the objects of the view layer V, it is easy to cause memory leaks

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
  • Sticker function framework realization method and device
  • Sticker function framework realization method and device
  • Sticker function framework realization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention. Some, 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 belong to the protection scope of the present invention.

[0022] As an aspect of the embodiment of the present invention, this embodiment provides a method for implementing a sticker function framework, refer to figure 1 , which is a flowchart of a method for implementing a sticker function framework according to an embodiment of the present invention, including:

[0023] S1. Based on the data service requirements of the sti...

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 sticker function framework realization method and device. The method comprises the steps of S1, defining an interface function of a data layer based on a data business demandof a sticker function, and establishing data interface implementation logic of the interface function of the data layer; S2, based on a view business demand of the sticker function, defining an interface function of a view layer, and establishing view interface implementation logic of the interface function of the view layer; and S3, based on a business logic process of the sticker function, realizing instantiation of the data interface implementation logic and the view interface implementation logic by calling the corresponding data interface implementation logic and view interface implementation logic in sequence. The interface functions of the data layer and the view layer are called through a control layer to achieve business logic implementation of the sticker function, so that the business logic of the control layer can be effectively simplified, the expansibility and maintainability of a software program are improved, and the memory leakage of software codes can be effectively avoided.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a method and device for realizing a sticker function framework. Background technique [0002] The face value live broadcast room in the live broadcast platform is a video platform mainly used for communication and exchange between the anchor and the audience. There is a sticker function in the face value live broadcast room, which achieves the following effects: when the host’s face is aimed at the camera, the software will automatically paste special effects such as cartoon stickers on the host’s face, and the special effects will follow the face movement while moving. [0003] The traditional solution for implementing the sticker function is to design based on the Model-View-Controller (Model ViewController, MVC) framework pattern. In the MVC framework mode, the data layer and the view layer are directly held by the control layer, that is, the control layer...

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): G06F8/20G06F8/30
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