Method and device for sending data and limiting bandwidth occupied by sending process

A data and process technology, applied in multi-programming devices, data exchange networks, electronic digital data processing, etc., can solve problems such as system instability, data transmission volume, network bandwidth occupation, and starvation of other data transmission processes.

Active Publication Date: 2019-12-31
ALIBABA GRP HLDG LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method for data transmission, which solves the problem that a single data transmission process may starve other data transmission processes if it occupies the network bandwidth, and the data transmission volume of a data transmission process suddenly increases and the data transmission process that monopolizes the network bandwidth is blocked. Sudden increase and decrease in network bandwidth usage caused by sudden prohibition, resulting in system instability

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
  • Method and device for sending data and limiting bandwidth occupied by sending process
  • Method and device for sending data and limiting bandwidth occupied by sending process
  • Method and device for sending data and limiting bandwidth occupied by sending process

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0106] Please refer to figure 1 and figure 2 , which is figure 1 It is a schematic diagram and a flow chart of the method for sending data provided in the first embodiment of the present application. In the technical solution of this embodiment, the sending control is performed in units of a single data sending process. Specifically, the method for sending data includes the following steps:

[0107] Step S101: Obtain at least two data to be sent for the same sending process.

[0108] Obtain two or more data to be sent in the same sending process as the basis for data sending in the next step. The steps of obtaining data can be completed automatically by the system.

[0109] The technical solution of this embodiment is to send a large amount of data for each data sending process. If only a single data to be sent for the same sending process is obtained, there is no need to use the method of this application, and a single data can be sent directly. . For example, in a lo...

no. 2 example

[0156] In the foregoing embodiments, a method for sending data is provided, and correspondingly, the present application also provides an apparatus and electronic equipment for sending data. Since the device embodiment and the electronic device embodiment are basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment. The device embodiments described below are illustrative only.

[0157] Please refer to Figure 6 , a device for sending data in this embodiment, including:

[0158] A data acquisition unit 201, configured to acquire at least two data to be sent for the same sending process;

[0159] The data sending unit 203 is configured to send each of the data until all the data is sent in such a way that a single data is sent each time and the waiting interval between two adjacent sendings increases sequentially.

[0160] Optionally, the method for acquiring a...

no. 3 example

[0184] Please refer to Figure 7 , an electronic device for data transmission in this embodiment, comprising:

[0185] monitor;

[0186] processor;

[0187] The memory is used to store a program for data transmission, and when the program is read and executed by the processor, the following operations are performed: acquiring at least two data to be sent for the same sending process; sending a single data each time In addition, the waiting interval between two adjacent sendings increases sequentially, and each of the data is sent separately until all the data are sent.

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 provides a method for sending data. The method comprises the steps of obtaining at least two pieces of to-be-sent data for the same sending process; and in a mode that a single piece of data is sent at each time and the waiting interval duration of adjacent two times of sending is increased in sequence, sending the data until all data is sent completely. According to the technical scheme of the invention, the problem that other data sending processes may be starved to death due to the fact that a single data sending process occupies the whole network bandwidth, and the problem that the network bandwidth occupation is increased and decreased suddenly resulting from the data sending processes are solved. The methods is particularly applicable to an environment that a plurality of data sending processes share the same network resource and individual data sending processes may occupy the whole network resource. The invention also provides a device for sending the data, an electronic device, a method and device for limiting sending process occupied bandwidth, and a method and device for sending log data between a master database and a backup database.

Description

technical field [0001] This application relates to the technical field of computer network communication, and specifically relates to a method, device and electronic equipment for data transmission; corresponding to the above method, this application also relates to a method and device for limiting the bandwidth occupied by the sending process and a method and device for the connection between the main database and the backup database. A method and device for sending log data between. Background technique [0002] In the field of computer network communication, when multiple data sending processes share a network resource, individual data sending processes may fill up the network resources and cause other data sending processes to be unable to send. For example, in a certain instance, multiple databases are deployed on one physical computer, and there is a requirement that multiple data sending processes of the multiple databases simultaneously send log data to other databas...

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): H04L12/911G06F9/48
CPCG06F9/4843H04L47/78
Inventor 张文杰张广舟林晓斌周正中范孝剑
Owner ALIBABA GRP HLDG 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