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

A method for synchronizing real-time communication messages based on blockchain

A real-time communication and blockchain technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as failures, server database damage, data loss, etc., to ensure security and stability.

Active Publication Date: 2021-08-03
珠海信达九州科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has the following disadvantages: that is, the conflict between the client message and the server message ID causes data loss; server migration is prone to failure; the client is prone to conflicts when switching between the official server and the test server; the server database is damaged. prone to data loss, etc.

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
  • A method for synchronizing real-time communication messages based on blockchain
  • A method for synchronizing real-time communication messages based on blockchain
  • A method for synchronizing real-time communication messages based on blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] It should be appreciated that embodiments of the invention may be realized or implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods can be implemented in a computer program using standard programming techniques - including a non-transitory computer-readable storage medium configured with a computer program, where the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the specific Methods and Figures described in the Examples. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, the programs can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on an application specific integrated circuit pr...

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 present invention relates to a method for synchronizing real-time communication messages based on a block chain, comprising the following steps: S1, a server receives a new session message and creates a first block based on it; S2, writes basic information into a block header; S3 . Write message data into the block body; S4. When the message data in the block body is full, automatically create a second block and repeat steps S2 and S3; S5. The client performs data synchronization through the server; S6. The client After the synchronization is successful, the messages in the block are exported and sent to the database; S7, the interactive interface acquires the messages based on the database and displays them externally. The invention can effectively solve a series of problems caused by message ID conflicts in the original real-time communication system, and after the server fails, the server message record can be quickly restored by writing back from the client, ensuring the security and stability of real-time communication .

Description

technical field [0001] The invention relates to a method for realizing synchronization of real-time communication messages based on a block chain, belonging to the field of real-time communication applications. Background technique [0002] At present, in the mainstream real-time communication system, the synchronization of roaming messages between the client and the server mainly depends on the difference set message interval, that is, the client calculates the difference set message interval between the local and the server, and sends the message to the server according to the interval. Obtain the messages in the interval, and complete the local messages based on the obtained messages, and finally achieve the consistency of messages between the client and the server. However, this method has the following disadvantages: that is, the conflict between the client message and the server message ID causes data loss; server migration is prone to failure; the client is prone to c...

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/08H04L12/58
CPCH04L51/00H04L67/1095
Inventor 林坚华
Owner 珠海信达九州科技有限公司