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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com