Cross-wide area network (WAN) data return method and device, computer equipment and storage medium

A storage medium and wide area network technology, applied to computer equipment and storage medium, cross-wide area network data return method, device field, can solve the problem of low efficiency of writing back data, etc.

Active Publication Date: 2018-08-17
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application provides a method, device, computer equipment and storage medium for cross-wide area network data return, aiming to solve the problem of writing back a large amount of data in the Hadoop server to the

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
  • Cross-wide area network (WAN) data return method and device, computer equipment and storage medium
  • Cross-wide area network (WAN) data return method and device, computer equipment and storage medium
  • Cross-wide area network (WAN) data return method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0030] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0031] It should also be understood that the terminology used in the specificati...

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 application discloses a cross-wide area network (WAN) data return method and device, computer equipment and a storage medium. The method includes the following steps: adding a pipeline class to ajava package class called by a Hadoop server, and constructing a function for inputting a Redis cluster object and a password in the pipeline class; enabling the pipeline class to synchronously read data to be returned in the Hadoop server to obtain Redis cluster information; obtaining current Redis cluster information through a pool object; and if the current Redis cluster information is different from the Redis cluster information at the previous moment, submitting the data to be returned stored in the pipeline class to a Redis database server according to the current Redis cluster information. According to the method, only when the Redis cluster information is updated, the pipeline class submits batch data to the Redis database server, and thus the number and time of handshakes of a remote TCP protocol can be reduced, and the data return efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of cross-wide area network data transmission, in particular to a cross-wide area network data return method, device, computer equipment and storage medium. Background technique [0002] At present, when the Hadoop server and the Redis database server are in different cities or provinces (that is, the two are geographically far apart), the commonly used method is to write back a large amount of data in the Hadoop server to the Redis database through a java program. The server needs to perform a TCP protocol handshake every time data is written back, which leads to low efficiency of writing data back through the java program. Contents of the invention [0003] This application provides a method, device, computer equipment and storage medium for cross-wide area network data return, aiming to solve the problem of writing back a large amount of data in the Hadoop server to the Redis database server th...

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): H04L29/08
CPCH04L67/10H04L67/1095H04L67/563H04L67/5682
Inventor 林林
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products