Network requesting method and system for IOS (Internet work 0perating System), storage medium and electronic equipment

A network request and self-definition technology, applied in software engineering design, electrical digital data processing, instruments, etc., can solve the problems of program maintainability and scalability limitation, affecting the complexity and speed of initiating network requests, etc., to increase maintenance The effect of sex and scalability

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

AI Technical Summary

Problems solved by technology

The existing custom network request function directly uses the native system request function of the IOS system to initiate a network request. In this way, in case Apple’s API is modified, the entire project needs to be modified, and each class involved in the network request needs to be modified. , which affects the complexity and speed of initiating network requests, and limits the maintainability and scalability of the program

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
  • Network requesting method and system for IOS (Internet work 0perating System), storage medium and electronic equipment
  • Network requesting method and system for IOS (Internet work 0perating System), storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0076] The embodiment of the present invention discloses a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method in Embodiment 1 is implemented.

Embodiment 3

[0078] The embodiment of the present invention discloses an electronic device, which includes a memory and a processor, wherein a computer program running on the processor is stored in the memory, and the method of Embodiment 1 is implemented when the processor executes the computer program.

Embodiment 4

[0080] see figure 2 As shown, the embodiment of the present invention discloses a network request system of an IOS system, including:

[0081] Create modules, which are used to create custom network request functions and custom network request tool classes;

[0082] Calling module, which is used for: calling a custom network request function and a custom network request tool class when a network request needs to be initiated;

[0083] The custom network request function processes the parameters passed in by the application that needs to initiate a network request, and generates a network request address;

[0084] The custom network request tool class judges and stitches the parameters carrying file information when uploading files, and generates the object of file information;

[0085] The self-defined network request tool class calls the network request function that comes with the IOS system, uses the network request address generated by the self-defined network request f...

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 network requesting method and system for an IOS (Internet work 0perating System), a storage medium and electronic equipment, and relates to the technical field of Internet mobile terminal application. When the method needs to send a network request for creating a user-defined network request function and a user-defined network request tool class, only the user-defined network request function and a user-defined network request tool class incoming parameter need to be called to initiate the network request and obtain a network request result, and therefore, a network requesting process can be quickly and conveniently finished. By use of the method, certain parameter processing details in the network request are abstracted and packaged, and for outside, only the parameter imported by an application which needs to initiate the network request needs to be obtained. Meanwhile, the network requesting method for the IOS is only called on the bottom layer of the user-defined network request tool class, if parameters need to be added or revised for the network request, only the parameters of the user-defined network request tool class need to be revised, and the maintainability and the expansibility of a program are increased.

Description

technical field [0001] The invention relates to the technical field of Internet mobile terminal applications, in particular to a network request method, a storage medium, electronic equipment and a system of an IOS system. Background technique [0002] A custom network request function is an essential function for mobile apps, and it is also an essential function for the Internet industry. The existing custom network request function directly uses the native system request function of the IOS system to initiate a network request. In this way, in case Apple’s API is modified, the entire project needs to be modified, and each class involved in the network request needs to be modified. , which affects the complexity and speed of initiating network requests, and limits the maintainability and scalability of the program. Contents of the invention [0003] Aiming at the defects existing in the prior art, the purpose of the present invention is to provide a network request metho...

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/30
CPCG06F8/315
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
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