Data processing method and apparatus, and electronic device

A data processing and data technology, applied in the computer field, can solve problems such as agent resource waste, and achieve the effects of avoiding resource waste, improving work efficiency, and reducing waste

Active Publication Date: 2018-06-05
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The Agent used for data diversion is fixed, which may lead to waste of Agent resources

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

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0048] In order to solve the above problems, the embodiment of the present invention discloses a data processing method, device and electronic equipment, by periodically obtaining the amount of cached data, and then changing the number of Agents to adapt to the amount of current diverted data, so as to achieve reasonable use Agent conducts data diversion to reduce waste of resources. The specific implementation is as follows:

[0049] In order to achieve the purpose of the above invention, the embodiment of the present invention discloses a data processing method, such as figure 1 shown. figure 1 It is a flow chart of a data processing method according to an embodiment of the present invention, including:

[0050]S101. According to a preset time period, acquire a first data amount of data to be diverted cached in the proxy service Agent within a current time period.

[0051] In the embodiment of the present invention, by periodically detecting the cached data to be diverted...

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 provides a data processing method and apparatus, and an electronic device, wherein the data processing method includes: acquiring, according to a preset time period, first a first data volume of to-be-diverted data buffered in a proxy service agent in a current time period; obtaining a second data volume of the to-be-diverted data cached in the agent in the previoustime period adjacent to the current time period; determining, according to the first data volume and the second data volume, methods of changing the number of agents, wherein the methods include deletion, addition or invariance; and according to the number of changes of the number of the agents, changing the number of currently accessed agents correspondingly. According to the data processing method and apparatus, the agents are reasonably used to perform data diversion, and resource waste is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data processing method, device and electronic equipment. Background technique [0002] In actual production, it is often necessary to divert data streams to another storage system. In the prior art, a data flow may be diverted from one system to another storage system through an agent service Agent. In order to ensure the real-time performance of data diversion, the traffic vertex value of the data flow is usually set as the fixed throughput value of the diversion, that is, the number of Agents required is set according to the fixed throughput value, and the number of the Agent is constant of. [0003] However, the inventor found in the process of realizing the present invention that the prior art has at least the following problems: [0004] During the actual diversion process, the traffic size of the data stream is constantly changing, and may change periodically...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0626G06F3/0631G06F3/0656
Inventor 刘天昊
Owner BEIJING QIYI CENTURY SCI & TECH 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