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

Method and system for two-way synchronization between client and server

A server-side, two-way synchronization technology, applied in the field of network transmission, can solve problems such as heavy load on the server side, achieve the effects of improving processing efficiency and performance, improving data synchronization effect, and reducing burden

Active Publication Date: 2015-09-30
成都软智科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is to provide a method and system for two-way synchronization between the client and the server, which solves the problem of excessive load on the server when the current client and server are synchronized

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
  • Method and system for two-way synchronization between client and server
  • Method and system for two-way synchronization between client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0038]In order to improve the efficiency and performance of the application server in processing business logic, the present invention usually reads the data of various business logic objects to be processed by the system from the database to the server in advance when the application server is started, and generates corresponding server objects. Each object (even objects of different classes) has a unique name (ID), and there will be a subscription identifier in the request sent from the client to the server, which indicates whether the client needs to be involved in this request object for data synchronization. If synchronization is required, the server will record information such as the IP address, port, version number, and subscribed object ID number of the client that sent the request, and these records form a list on the server side. Wh...

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 method and system for two-way synchronization between a client and a server. The method includes: after the application server receives the service request sent by the application client, it analyzes the service request; the application server If an application client modifies the data of an object, it will search for the application client that has subscribed to the object according to the information in the table of the application client information and the object information it subscribes to, and judge if it is found , the modified data of the object will be sent to the corresponding application client to keep the data synchronization between the client and the server. The invention can send updated data to each client at the first time after the object changes, so that the data synchronization effect between the client and the server is further improved.

Description

technical field [0001] The present invention relates to network transmission technology, and more specifically, the present invention relates to a method and system for bidirectional synchronization between a client and a server. Background technique [0002] In the C / S architecture of traditional network applications, the client (C) acts as the data display and operation end of the server (S): it connects to the server (S) through the network, and then reads the corresponding data (O) for display and operation. When displaying, the client needs to periodically refresh (reread the latest data from the server) the currently displayed data to keep it consistent with the data on the server. When operating, it is necessary to send the operation command to the server, then execute the command on the server and update the client data according to the returned result. [0003] This traditional client-server data synchronization has the following disadvantages: [0004] 1. When ...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 王献昌罗祖麦王玉稳
Owner 成都软智科技有限公司