Unlock instant, AI-driven research and patent intelligence for your innovation.

Data interaction method

A data interaction and data technology, applied in the field of data interaction, can solve the problems of troublesome user operation, low readability, and low program scalability, and achieve the effects of preventing CSRF attacks, improving operating efficiency, and increasing security.

Inactive Publication Date: 2020-05-26
南京旅享云网络科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method for data interaction to solve the above-mentioned background technology that cannot effectively prevent CSRF attacks, low program security, troublesome user operations, low program scalability, low readability and program The problem of low operating efficiency

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
  • Data interaction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0023] see figure 1 , the present invention provides a technical solution: a method for data interaction, comprising:

[0024] (1), the client sends the first access, asking whether the server can connect and transmit data, this request uses the OPTIONS method request,

[0025] (2) With the permission of the server, the client will send a second request and transmit data to the server. This request can use methods such as get, post, and put, and the data will...

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 data interaction method. The method comprises the steps that a client sends first access, inquires whether a server can be connected and transmit data or not, wherein the request is requested by adopting an OPTIONS method; the client sends a second request and transmits data to the server under the condition of obtaining permission of the server, wherein the request can adopt the methods of get, post, put and the like and the data are encrypted; and otherwise, the request is not generated and is directly refused by the server. Compared with the prior art, the data interaction method has the advantages that the CSRF attack can be effectively prevented; the program security is improved; the user operation is simple; the program expansibility is improved; the readability is improved; and the program running efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method for data interaction. Background technique [0002] With the rapid development of Internet technology, many applications developed based on the browser kernel (that is, webapp, generally can refer to third-party applications based on web page technology Application) due to its low development cost, no need to install, compatible with various mobile devices and platforms The advantages of low adaptation cost and other advantages have been favored by users and app providers. The main business display and interaction of WebApp is basically carried by the Web page. The Web page is very flexible, but for some businesses that need real-time operation, the existing WebApp generally uses Ajax to realize data interaction, that is, Asynchronous JavaScript And XML. Data exchange enables web pages to be updated asynchronously. This means that parts of a web page can be update...

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/06
CPCH04L63/0807H04L63/1441H04L63/145
Inventor 徐亚磊
Owner 南京旅享云网络科技有限公司