Method for transmitting service data, and storage system

A storage system and business data technology, applied in the Internet field, can solve problems such as business data loss, achieve the effect of reducing business data and reducing the possibility of business data loss

Active Publication Date: 2015-06-03
HUAWEI TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the operation of the server, it often happens that among the users corresponding to a certain server, a large number of users request business data at the same time, a large amount of business data will be stored in the cache space of the server. The time will automatically clear the stored business data in the order of first-come-first-served, therefore, the business data required by the user in the cache may be lost

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 for transmitting service data, and storage system
  • Method for transmitting service data, and storage system
  • Method for transmitting service data, and storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] An embodiment of the present invention provides a method for sending service data, the method is applied in a storage system, and the storage system includes at least two servers, wherein each server includes a cache, and the method is executed by the first server.

[0039] Such as figure 2 As shown, an optional system frame diagram provided by the embodiment of the present invention includes a server and a terminal. The server may be a server for sending service data, wherein the terminal may be a terminal requesting service data. The first The server may be a server corresponding to a pre-stored server identifier in an application program installed on the terminal. In this storage system, a network service file (such as a video file) can be divided into multiple data blocks and stored in each server of the server group respectively. When a terminal requests service data in a certain file, a server can send Read the data blocks of the file from each server in the sto...

Embodiment 2

[0050] An embodiment of the present invention provides a method for sending service data, the method is applied in a storage system, and the storage system includes at least two servers, wherein each server includes a cache for storing and providing service data to a terminal , the method can be executed by the first server.

[0051] The following will combine specific implementation methods, figure 1 The processing flow shown is described in detail, and the content can be as follows:

[0052] Step 101, receiving a first read data request sent by a terminal, the first read data request includes address information of the first target data, and the address information of the first target data includes the start address and length of the first target data.

[0053] In the implementation, the user can install an application program for obtaining business data on the terminal. When the user needs to obtain the data of a certain file (such as a certain video file), he can open the...

Embodiment 3

[0085] Based on the same technical concept, an embodiment of the present invention also provides a storage system, the storage system includes at least two servers, wherein each server includes a cache;

[0086] The first server is configured to receive a first read data request sent by a terminal, the first read data request includes address information of the first target data, and the address information of the first target data includes an origin of the first target data start address and length; according to the address information of the first target data and the preset read-ahead algorithm, obtain the address information of the second target data; obtain the local cache usage frequency, wherein the cache usage frequency refers to the preset time The size of the data read from the cache; when it is determined that the local cache usage frequency is greater than the preset first threshold, a pre-read data request is sent to the second server, and the pre-read data request ...

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 discloses a method for transmitting service data, and a storage system, and belongs to the technical field of the Internet. The method comprises the steps that a first data reading request transmitted by a terminal is received, wherein the first data reading request comprises address information of first target data; address information of second target data is acquired according to the address information of the first target data and a preset prereading algorithm; the cache use frequency of a first server is acquired; a data prereading request is transmitted to a second server when the cache use frequency of the first server is greater than a preset first threshold, wherein the cache use frequency of the second server is less than the first threshold; a second data reading request transmitted by the terminal is received; and the second target data is requested to the second server and transmitted to the terminal. With the adoption of the method, the possibility of loss of the service data required by a user in the first server can be reduced.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and a storage system for sending service data. Background technique [0002] With the development of Internet technology, the application of the Internet is becoming more and more extensive, and the functions are becoming more and more powerful. Users can send data requests to a certain server through the Internet to obtain the business data they need. [0003] In practice, a service provider usually sets up multiple servers, among which several servers can form a server group to provide service data for a certain network service. The file of the network service (such as a video file) can be divided into multiple data blocks, which are stored in each server of the server group respectively. Each server reads the service data of the video, stores the read service data in the cache space of the server, and sends the service data in the cache space to the user termina...

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): H04L29/08
CPCH04L65/40
Inventor 孟祥瑞
Owner HUAWEI 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