Data interaction method between mobile terminal and server

A server-side, data interaction technology, used in structured data retrieval, database management systems, special data processing applications, etc. Realize problems such as collaborative development, and achieve the effect of improving testing efficiency, improving development efficiency, and ensuring module isolation

Active Publication Date: 2020-11-10
SHANGHAI OCEAN UNIV
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Another problem in the above pattern is that the logical processing of the request data by the interface is coupled in the interface. Even if the logical processing module is independent using the MVC architecture, the data processed by the logical processing module still needs to be passed to the It does not completely shield the sending and receiving of network requests, and cannot truly realize that the mobile terminal calls the interface like calling a function, and cannot achieve the data consistency between the mobile terminal and the server terminal.
[0006] In addition, in the above mode, the server and the mobile terminal also isolate the interactive data while the development module is isolated, so it is difficult to achieve collaborative development
Therefore, the development of mobile applications involving network requests cannot only consider the mobile terminal. How to make the mobile terminal and the server side complement each other and cooperate properly. While simplifying the mobile terminal, the server side can also conveniently develop interfaces and realize collaborative development, thereby reducing development complexity. The degree of data consistency between the mobile terminal and the server terminal also has module isolation, which is the main problem facing the design and development of network communication modules in mobile applications.

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 between mobile terminal and server
  • Data interaction method between mobile terminal and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific embodiments.

[0033] Such as figure 1 , 2 As shown, the embodiment of the present invention provides a method for data interaction between the mobile terminal and the server terminal, which is applied to the mobile terminal and the server terminal, and the method includes the following steps:

[0034] (S1) Constructing the request instruction module according to the request of the business logic module to construct instructions; the instruction includes opcodes and operands; the opcodes include instructions to request server-side operation classes and operations on the classes, and the operands are parameters in the class operation process ;

[0035] (S2) The command sending module analyzes the command, processes the command according to the type of the comma...

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 relates to the field of network interfaces of mobile applications, in particular to a data interaction method for a mobile terminal and a server terminal, which are applied to the mobileterminal and the server terminal. The method comprises the steps: deploying an instruction receiving module and an instruction driving module at a server side, and deploying a construction request instruction module and an instruction sending module at a mobile side; enabling the construction request instruction module to generate an instruction according to service logic, enabling the instruction sending module to package the instruction and send the instruction to the instruction receiving module, enabling the instruction receiving module to analyze the extended instruction and send the extended instruction to the instruction driving module, enabling the instruction receiving module to deliver the instruction to the instruction driving module, and enabling the instruction driving moduleto process the instruction to obtain return data; and returning the returned data according to an original path. By means of the method, the mobile application calling interface can call a local function like calling, and great convenience is brought to program debugging. In the mode, when the function needs to be modified or a new function needs to be added, only the instruction driving module needs to be modified, and the expandability of the program is greatly improved.

Description

technical field [0001] The invention relates to the field of mobile application development, and relates to a data interaction method between a mobile terminal and a server terminal. Background technique [0002] With the popularization of mobile devices such as smartphones and tablet computers, the development of various mobile applications is becoming more and more prosperous. At the same time, the volume of mobile applications is getting larger and larger, and obtaining data through network interfaces is the main source of content displayed by mobile applications, so the network communication module in mobile applications is also becoming more and more important. Since the interaction between the mobile application and the network interface plays an important role in the development of the mobile application, and in the mobile application, the code blocks requested by the network interface are very large and the locations are relatively discrete, so the interaction module...

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): H04L1/00G10L15/22G10L15/30G06F16/25H04L29/08
CPCH04L1/0079G10L15/22G10L15/30G06F16/25H04L67/02H04L2212/00G10L2015/223
Inventor 侯杰王静王乐琪朱海怡韩彦岭徐利军
Owner SHANGHAI OCEAN UNIV
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