Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method, device, electronic equipment 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 incompatibility with business scenarios, inability to synchronize data, etc., and achieve the effect of reducing development costs and improving compatibility

Active Publication Date: 2021-05-28
挂号网(杭州)科技有限公司
View PDF5 Cites 1 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 equipment and storage medium
  • Data processing method, device, electronic equipment and storage medium
  • Data processing method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a schematic flowchart of a data processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of compatible processing of 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, and optionally, the electronic device may be a mobile terminal or the like.

[0031] Such as 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] Wherein, the data processing request may be a request for processing data, may be a request command or a request code, etc., and the data processing request may include a data query request, a data update request, or a data creation req...

Embodiment 2

[0048] figure 2 It is a schematic flowchart of a data processing method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment aims at establishing the corresponding relationship between interface names and distributed cluster version types, as well as determining and distributing them. Refer to the technical solution of this embodiment for the implementation manner of the target parsing template adapted to the cluster version type. Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.

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

[0050] S210. Acquire configuration information pre-configured by at least one user.

[0051] Wherein, the configuration information includes a distributed cluster version type and a corresponding cluster version address. The distributed cluster version ty...

Embodiment 3

[0089] image 3 It is a schematic diagram of a data processing method provided by Embodiment 3 of the present invention. The 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 (cluster version number, such as V-5, V-6 or V-7, etc.) and the corresponding cluster version address (host address).

[0091] 2. Set up a scheduled task in advance, and regularly pull the ElasticSearch configuration information in the database storing the configuration information. According to the version number of the cluster in the configuration information and the corresponding host address, determine the corresponding ElasticSearch cluster (search service), and then register and connect to the ElasticSearch cluster (such as: ES-5, ES-6 or ES-7, etc., ES The version number corresponding to -5 is V-5, the version...

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 embodiment of the invention discloses a data processing method, a device, electronic equipment and a storage medium. The method comprises the steps: determining a target interface name matched with a data processing request when the data processing request is received; determining a target distributed cluster version type corresponding to the target interface name according to a pre-created corresponding relationship between the interface name and the distributed cluster version type; calling a target analysis template matched with the target distributed cluster version type, and converting data corresponding to the data processing request into to-be-processed target data matched with the grammar of the target analysis template; and converting the to-be-processed target data into target data in a target format, and feeding back a processing result corresponding to the target data to a client corresponding to the data processing request so as to display the processing result on the client. Through the technical scheme of the embodiment of the invention, the technical effects of improving the compatibility of distributed clusters of different version types and reducing the development cost are realized.

Description

technical field [0001] The embodiments of the present invention relate to the field of data synchronization, and in particular, to a data processing method, device, electronic equipment, 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, the version of ElasticSearch will be upgraded. After the ElasticSearch version is upgraded, the user needs to upgrade the corresponding client, and at the same time, the API (Application Programming Interface, application program interface) of the corresponding code must also be modified, which will cause a high cost for the user to use ElasticSearch for development. [0004] Moreover, ElasticSearch has both the functions of d...

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
IPC IPC(8): G06F16/27G06F16/25G06F16/21
CPCG06F16/27G06F16/25G06F16/219
Inventor 程民刘磊
Owner 挂号网(杭州)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products