Cross-domain JSON (JavaScript Object Notation) data exchanging method and system

A JSON, data exchange technology, applied in the field of information data exchange, can solve problems such as reducing versatility and compatibility, increasing data exchange system coupling, and cumbersome implementation process.

Inactive Publication Date: 2019-03-08
CHANGZHOU INST OF MECHATRONIC TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the other party is not on the same host, it must be processed with very special technology and the other party must modify the server-side program code to realize it. The implementation process is cumbersome and both parties must participate, which increases the coupling between different modules of the data exchange system and reduces the commonality. sex and compatibility

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
  • Cross-domain JSON (JavaScript Object Notation) data exchanging method and system
  • Cross-domain JSON (JavaScript Object Notation) data exchanging method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0031] The cross-domain JSON data exchange method and system according to the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0032] see figure 1 , the JSON data exchange method that the embodiment of the present invention provides, comprises the following steps:

[0033] S1. Receive the first JSON data request forwarded by the forwarder, where the first JSON data includes at least a method key-value pair and a target key-value pair.

[0034] The JSON data in the embod...

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 provides a cross-domain JSON (JavaScript Object Notation) data exchanging method and system. Specifically, the method comprises the following steps of receiving a first JSON data requestforwarded by a transponder, wherein first JSON data at least comprises a method key value pair and a target key value pair; reconstructing the target key value pair, and forming a second JSON data request; sending the second JSON data request to a cross-domain server; and receiving response of the cross-domain server. According to the cross-domain JSON data exchanging method provided by the invention, cross-domain JSON data exchanging can be realized without modifying a client and a server, complex workload resulting from redesign and modification of the client and the server is avoided, coupling is reduced, and compatibility is improved. A cache technology is employed, so when big data exchanging is carried out and high concurrent traffic requests occur, access speed and efficiency can be clearly improved. The JSON data exchanging can be realized through utilization of various selectable script languages, so flexibility and degree of freedom are greatly improved.

Description

technical field [0001] The invention relates to the field of information data exchange; in particular, it relates to a cross-domain JSON data exchange method and system. Background technique [0002] JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy for humans to read and write, and easy for machines to parse and generate. Based on JavaScript Programming Language, a subset of StandardECMA-262 3rd Edition-December 1999, JSON adopts a completely language-independent text format, but also uses conventions similar to the C language family. These properties make JSON an ideal data interchange language. [0003] In practical applications, the JSON data format is widely used in RESTFUL data exchange. RESTFUL is a software architecture, which mainly manifests in the following three forms: (1) each URI represents a resource; (2) client and server (3) The client operates on the server-side resources through HTTP requests to realize "state transform...

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/08G06F16/2455
CPCH04L67/02H04L67/565
Inventor 张力
Owner CHANGZHOU INST OF MECHATRONIC TECH
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