Supercharge Your Innovation With Domain-Expert AI Agents!

Data processing method, device, electronic device and storage medium

A data processing and data technology, applied in special data processing applications, database management systems, database design/maintenance, etc., can solve problems such as incompatible business scenarios and data synchronization, and achieve the effect of reducing development costs and improving compatibility

Active Publication Date: 2022-07-12
挂号网(杭州)科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current data synchronization only supports a single version of the ElasticSearch cluster, and cannot perform data synchronization on different versions of the ElasticSearch cluster, so it cannot be compatible with the business scenarios corresponding to different versions of ElasticSearch

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 processing method, device, electronic device and storage medium
  • Data processing method, device, electronic device and storage medium
  • Data processing method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 This is a schematic flowchart of a data processing method provided in Embodiment 1 of the present invention. This embodiment can be applied to the case of performing compatible processing on distributed cluster data of different versions and types. The method can be executed by a data storage device. The apparatus may be implemented in the form of software and / or hardware, and the hardware may be an electronic device. Optionally, the electronic device may be a mobile terminal or the like.

[0031] like figure 1 As described, the method of this embodiment specifically includes the following steps:

[0032] S110. When a data processing request is received, determine a target interface name matching the data processing request.

[0033] The data processing request may be a request for processing data, a request command or a request code, etc. The data processing request may include a data query request, a data update request or a data creation request, etc., whi...

Embodiment 2

[0048] figure 2 This is a schematic flowchart of a data processing method provided by the second embodiment of the present invention. On the basis of the above-mentioned embodiments, this embodiment aims to establish the corresponding relationship between the interface name and the distributed cluster version type, as well as the determination and distribution. For the implementation manner of the target parsing template adapted to the type of cluster version, reference may be made to the technical solution of this embodiment. Wherein, the explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.

[0049] like figure 2 As described, the method of this embodiment specifically includes the following steps:

[0050] S210. Acquire at least one user-preconfigured configuration information.

[0051] The configuration information includes the distributed cluster version type and the corresponding cluster version address. The dis...

Embodiment 3

[0089] image 3 It is a schematic diagram of a data processing method provided by Embodiment 3 of the present invention. This embodiment of the present invention is a preferred embodiment of the above-mentioned embodiments, and the specific implementation methods are as follows:

[0090] 1. The user can configure the corresponding distributed cluster version type (the version number of the cluster, such as V-5, V-6 or V-7, etc.) and the corresponding cluster version address (host) for the ElasticSearch cluster in the background application. address).

[0091] 2. Set scheduled tasks in advance, and regularly pull the ElasticSearch configuration information in the database that stores the configuration information. According to the version number of the cluster and the corresponding host address in the configuration information, determine the corresponding ElasticSearch cluster (search service), and then register and connect to the ElasticSearch cluster (eg: ES-5, ES-6 or ES-7,...

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 embodiments of the present invention disclose a data processing method, device, electronic device and storage medium. The method includes: when a data processing request is received, determining a target interface name matching the data processing request; Correspondence between distributed cluster version types, determine the target distributed cluster version type corresponding to the target interface name; call the target parsing template adapted to the target distributed cluster version type, and convert the corresponding data processing request. The data is converted into target data to be processed that is adapted to the grammar of the target parsing template; the target data to be processed is converted into target data in the target format, and the processing result corresponding to the target data is fed back to the client corresponding to the data processing request , to display the processing results on the client. Through the technical solutions of the embodiments of the present invention, the technical effects of improving the compatibility of distributed clusters of different versions and types and reducing development costs are achieved.

Description

technical field [0001] Embodiments of the present invention relate to the field of data synchronization, and in particular, to a data processing method, apparatus, electronic device, and storage medium. Background technique [0002] ElasticSearch (Lucene-based search server) is an open source search server that provides a full-text search engine with distributed multi-user capabilities. In the big data industry, ElasticSearch has become a popular enterprise-level search engine. [0003] In order to enable ElasticSearch to provide better services, a version upgrade will be performed for ElasticSearch. After the ElasticSearch version is upgraded, the user needs to upgrade the corresponding client, and at the same time, the API (Application Programming Interface) of the corresponding code must also be modified, which will cause the problem of high cost when users use ElasticSearch for development. [0004] Moreover, ElasticSearch has both data storage and search engine functi...

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): G06F16/27G06F16/25G06F16/21
CPCG06F16/27G06F16/25G06F16/219
Inventor 程民刘磊
Owner 挂号网(杭州)科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More