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

Method for processing internal tasks or input events and application architecture system

A technology for inputting events and application programs, applied in the computer field, can solve problems such as high maintenance costs, unfavorable expansion maintenance, installation package expansion, etc., and achieve the effect of optimizing architecture design, facilitating subsequent testing, and facilitating fault location

Pending Publication Date: 2020-02-04
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Among them, in MVC, there is a strong coupling between the data model layer and the view layer; in MVP, although the data model layer and the view layer are isolated, the logic layer code will expand with the increase of business complexity, which is not conducive to expansion and maintenance. ;In MVVM, the system will automatically generate a large amount of code, resulting in the expansion of the installation package. At the same time, the Android layout needs to be modified, and the maintenance cost is high

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 for processing internal tasks or input events and application architecture system
  • Method for processing internal tasks or input events and application architecture system
  • Method for processing internal tasks or input events and application architecture system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0038] It should be noted that, in the case of no conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[0039] figure 1 is a schematic diagram of main steps of a method for processing an internal task or an input event according to an embodiment of the present invention.

[0040] Such as figur...

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 method for processing internal tasks or input events and an application program architecture system, and relates to the technical field of computers. A specific embodiment ofthe method comprises the steps of converting a currently triggered application internal task or input event into a message carrying tag information; and sending the message to a function level pre-established in an application program according to the type of the message, and processing the message by utilizing data processing logic corresponding to the label information in the function level. According to the embodiment, the internal task or input event of the application program can be converted into the message, and targeted processing is carried out at the corresponding function level, sothat decoupling of each function level is realized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method for processing internal tasks or input events and an application program architecture system. Background technique [0002] At present, the layered architecture scheme of Android (an open source operating system) mainly includes MVC (data model layer Model, view layer View, control layer Controller), MVP (data model layer Model, view layer View, logic layer Presenter), MVVM (data model layer Model, view layer View, view model layer ViewModel), etc. [0003] Among them, in MVC, there is a strong coupling between the data model layer and the view layer; in MVP, although the data model layer and the view layer are isolated, the logic layer code will expand with the increase of business complexity, which is not conducive to expansion and maintenance. ;In MVVM, the system will automatically generate a large amount of code, resulting in the expansion of the installa...

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/451G06F9/48
CPCG06F9/451G06F9/4843
Inventor 李瑜
Owner BEIJING JINGDONG SHANGKE INFORMATION 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