Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Business communication method and system based on JSON data protocol

A data protocol and business communication technology, applied in the field of network communication, can solve problems such as chaotic business system access methods and inability to achieve interoperability and interconnection

Active Publication Date: 2015-10-21
SHENZHEN MICSUN INFORMATION TECH CO LTD
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, many business systems use AJAX technology, but there is no independent protocol for business data operation based on AJAX technology for standardized planning, which leads to confusion in the access methods of different business systems. Without independent rewriting of the protocol, it is impossible to achieve interoperability

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
  • Business communication method and system based on JSON data protocol
  • Business communication method and system based on JSON data protocol
  • Business communication method and system based on JSON data protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] refer to figure 1 , figure 1 It is a method flowchart of the first embodiment of the business communication method of the present invention.

no. 1 example

[0047] In the first embodiment, the business communication method includes:

[0048] S101, the client encapsulates the data request packet according to the preset data request communication format according to the JSON data protocol, and obtains the encapsulation request data packet, and the content of the data request packet includes an operation code, decision parameters and business data;

[0049] JSON (Javascript Object Notation) is a lightweight data exchange language based on text and easy to read. The data encapsulation and definition in JSON format can adapt to the transparent request of data in business communication between the client and the server. It is convenient for users to know the information of the data responded by the server without having a deep understanding of the logic code of the server;

[0050] The client can be a mobile phone, a computer, etc. The mobile phone and the computer use different operating systems. The operating system of the mobile phon...

Embodiment 2

[0084] refer to figure 2 , figure 2 It is a method flowchart of the second embodiment of the business communication method of the present invention.

[0085] On the basis of the first embodiment, after step S101, it also includes:

[0086] S104, the client sends the encapsulation request data packet to the server through an AJAX request.

[0087] AJAX is a web development technology that combines Java, Xml and JavaScript to create interactive web applications. It uses asynchronous data for conversion, allowing web pages to request a small amount of information from the server instead of the entire web page. The response speed is fast. AJAX communication and data format Nothing to do, the JSON language format is commonly used in AJAX communication technology;

[0088] AJAX applications rely on browsers, and different browsing environments will hinder the cross-browser application of AJAX. There is no standardization of protocols for business data operations based on AJAX t...

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 business communication method and system based on a JSON data protocol. The method comprises: a client packages a data request packet according to a preset data request communication format and the JSON data protocol in order to obtain a packaged request data packet; a server receives and analyzes the packaged request data packet to obtain a data processed result; and the server packages the data processed result and data processing feedback information based on the JSON data protocol according to a preset data response format in order to obtain a packaged response data packet and returning the packaged response data packet to the client. By means of the given data request communication format based on the JSON data protocol and the given data response format based on the JSON data protocol, business intercommunication can be achieved in virtue of the given data response format in different operating environments. The method, the standard, and the content of communication can be clearly known so along as business entity is known.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and system for business communication based on the JSON data protocol. Background technique [0002] Traditional Web Service technology and EJB use the object serialization mode to transmit business data, which cannot transparently express business information. JSON (Javascript Object Notation) is a lightweight data exchange language based on text and easy to read. The data encapsulation and definition in JSON format can adapt to the transparent request of client and server business data. It is convenient for users to know the information of the data responded by the server without having a deep understanding of the logic code of the server. [0003] At present, many business systems use AJAX technology, but there is no independent protocol for business data operation based on AJAX technology for standardized planning, which leads to confusion in the acces...

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): H04L29/08
CPCH04L67/02H04L67/5651H04L67/565
Inventor 吴刚
Owner SHENZHEN MICSUN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products