Information synchronization method and device, computer equipment and storage medium

An information synchronization and computer program technology, applied in the Internet field, can solve the problem of unable to guarantee the synchronization between the service layer and all client messages, unable to receive status information, etc., to achieve the effect of asynchronous transmission processing and enhanced stability

Pending Publication Date: 2022-07-29
青岛中科曙光科技服务有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the current business system mostly adopts the cluster deployment form, including multiple business nodes and multiple clients. Therefore, each client can only select one of the multiple business nodes to create a long connection
When the service layer pushes data information to a certain business node in the business layer, the client that has not established a connection with the business node cannot receive the status information of the database instance, so that the message between the service layer and all clients cannot be guaranteed. Synchronize

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
  • Information synchronization method and device, computer equipment and storage medium
  • Information synchronization method and device, computer equipment and storage medium
  • Information synchronization method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0060] The information synchronization method provided in the embodiment of the present application can be applied to, for example, figure 1 shown in the business system 100. The client 106 communicates with the service layer 104 through the network. The data storage system (ie, the business layer database) can store the data required by the business layer 104 . The data storage system may be integrated on a certain service node of the service layer 104, or may be placed on the cloud or other network servers. Specifically, in the business system, when the target bus...

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 an information synchronization method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: when a target service node in a service layer consumes database instance state information in a message queue, issuing the database instance state information to a remote dictionary database redis through the target service node; the database instance state information is changed database instance state information monitored by a service layer; based on a preset subscription relationship between each service node of the service layer and the redis, publishing the database instance state information stored in the redis to each service node; and sending the database instance state information to the corresponding client based on the long connection relationship between each service node and the client. By adopting the method, the efficient synchronization of the database instance state information between the service layer and the client is realized.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular, to an information synchronization method, apparatus, computer equipment, storage medium and computer program product. Background technique [0002] In the business system, when the service layer creates a database instance, it is necessary to synchronize the status information generated by the database instance creation with the client to ensure that the user knows the current running state of the service layer. [0003] The current information synchronization method between the service layer and the client is mainly implemented in a business system deployed on a single node, that is, a unique long-term connection relationship is established between the service layer, the single-node business layer and a single client. The service layer pushes the status information generated by creating the database instance to the corresponding unique client through a single bus...

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 & AuthorityApplications(China)
IPC IPC(8): H04L67/1095H04L67/562H04L47/50
CPCH04L67/1095H04L47/50
Inventor刘云生郭庆张正阳
Owner青岛中科曙光科技服务有限公司