Mobile terminal network request method and system

A network request and mobile terminal technology, applied in the transmission system, electrical components, etc., can solve problems such as error-prone and complicated access to the network process, and achieve the effect of reducing confusion and reducing the probability of error

Inactive Publication Date: 2016-08-10
LEMOBILE INFORMATION TECH BEIJING
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a mobile terminal network request method and system for

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
  • Mobile terminal network request method and system
  • Mobile terminal network request method and system
  • Mobile terminal network request method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0029] The technical solutions in the embodiments of 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 only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0030] Such as figure 1 Shown is a working flow chart of a mobile terminal network request method of the present invention, including:

[0031] Step S101 includes: the network application of the mobile terminal receives a network request including network request parameter information;

[0032] Step S102 includes: the network application sends the network request to an asynchronous task including a callback function, the asynchronous task ex...

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 mobile terminal network request method and system. The method comprises that network applications of a mobile terminal receives network requests comprising network request parameter information; the network applications sends the network requests to an asynchronous task comprising a callback function, wherein according to the asynchronous task, the network requests are executed and request result data is downloaded according to the network request parameter information, and the request result data is returned to the network applications by the callback function; the network applications analyze the request result data returned by the callback function, thus obtaining application data. According to the method and the system, the network requests sent by the network applications are received by the asynchronous task; according to the asynchronous task, network access is carried out uniformly; the network access is independent; multiple network applications are avoided from executing the network requests by themselves; the network requests of the mobile terminal can be managed uniformly; disorder is reduced; and the error probability is reduced.

Description

technical field [0001] The invention relates to the field of mobile terminals, in particular to a mobile terminal network request method and system. Background technique [0002] Mobile terminals, especially smart phones, have been able to perform network access very well. Users access the network through various applications on mobile terminals. For mobile terminals, due to the limited performance of the processor, its operating system, such as Android (android), uses a main thread to display and draw visible views (view), so that any time-consuming network requests must Therefore, any time-consuming request in the operating system needs to be processed by multiple threads, and the result of the network request is notified to the main thread by performing cross-thread operations. After the main thread receives the request result, it needs to parse the complicated characters. string, and finally generate the result that the user wants, the process is very complicated and t...

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): H04L29/08
CPCH04L67/566H04L65/40
Inventor 赵洪涛
Owner LEMOBILE INFORMATION TECH BEIJING
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