Supercharge Your Innovation With Domain-Expert AI Agents!

A network request method and device based on an educational resource platform

A technology for network requests and educational resources, applied in the field of communication, can solve problems such as no unified configuration file entry, and achieve the effect of reducing development costs

Active Publication Date: 2022-04-12
SHENZHEN DIANMAO TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a network request method and device based on an educational resource platform, aiming at solving the problem of network request api provided by the WeChat applet of the existing educational resource platform in the prior art, There is no unified configuration file entry. When some content needs to be changed, all request processing problems in the program need to be changed

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
  • A network request method and device based on an educational resource platform
  • A network request method and device based on an educational resource platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0042] see figure 1 , figure 1 It is a flowchart of a preferred embodiment of a network request method based on an educational resource platform in the present invention. The network request method based on the educational resource platform in the embodiment of the present invention is applied to the WeChat applet of the educational resource platform, such as figure 1 As shown, it includes the steps:

[0043] Step S100, setting the request mode and configuration information in advance;

[0044] Step S200, detecting the current terminal ...

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 request method and device based on an educational resource platform. The method includes: setting the request mode and configuration information in advance; detecting the current terminal version, and if the current terminal version supports the proxy mode, then using the proxy server to set the proxy object , and obtain the key value that the function of the proxy server needs to access; if it is detected that the proxy object contains the key value, set an asynchronous programming object; read the request method and configuration information according to the asynchronous programming object, initiate a network request, if the request is successful , returns the request success information to the asynchronous programming object. In the embodiment of the present invention, a proxy server is used to encapsulate all network requests in one layer, and the separate network request layer becomes from the proxy layer to the network request layer, and part of the content changes can be completed at the proxy layer; adding restrictions at the proxy layer, Define the available request methods, and make network requests according to the available request methods, reducing development costs.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a network request method and device based on an educational resource platform. Background technique [0002] The educational resource platform is a platform that provides online learning education. The educational resource platform is also equipped with corresponding applications, and users can log in to the educational resource platform through the web page or the application terminal. With the development of technology, WeChat applets have appeared in people's field of vision. WeChat applets are applications that can be used without downloading and installing. The application of the educational resource platform also has a WeChat applet that can log in to the educational resource platform. [0003] However, the network request API provided by the WeChat applet of the existing educational resource platform does not have a unified configuration file entry. When some cont...

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 Patents(China)
IPC IPC(8): G06F16/958
Inventor 孙悦李天驰李涛
Owner SHENZHEN DIANMAO TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More