A data processing method and device

A data processing and business data technology, applied in the field of data processing, can solve the problems of poor dynamics and flexibility

Active Publication Date: 2018-06-26
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a data processing method and device, which are used to solve the problem in the prior art that a customized underlying driver is required for each business acceleration scenario, resulting in poor dynamics and flexibility

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
  • A data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] refer to figure 1 , is a flowchart of a data processing method according to an embodiment of the present invention.

[0081] This method is applied to the scenario where the hardware processing unit accelerates the business data sent by the host. The concept of the host and the hardware processing unit is the same as that of the prior art, that is, the host generally refers to a system mainly composed of one or more CPUs. The functions of the business layer and the driver layer are realized by executing the software code stored in the memory by the CPU; the hardware processing unit refers to a unit realized by hardware devices such as FPGA or ASIC, and is used to process the data sent by the host business layer ( Mainly to accelerate processing), the host and the hardware processing unit are connected through the interconnection interface. The data processing method in the embodiment of the present invention is completed by a hardware processing unit, which may include...

Embodiment 2

[0090] Based on the above embodiments, in this embodiment, if the request message sent by the host to the hardware processing unit includes multiple acceleration type identifiers, which require the hardware processing unit to perform various acceleration processes, the request message may also include information related to each The acceleration type identifier corresponds to the acceleration sequence identifier one by one, and the acceleration sequence identifier is used to indicate the sequence of the acceleration processing.

[0091] After the hardware processing unit parses and obtains the business data, the acceleration type identifier and the acceleration sequence identifier, it can perform acceleration processing on the business data respectively corresponding to the multiple acceleration type identifiers in the order indicated by the multiple acceleration sequence identifiers.

[0092] In this embodiment, by adding the acceleration sequence identifier in the request mes...

Embodiment 3

[0094] Based on all the above embodiments, in this embodiment, a field field and a data field may be set in the message transmitted between the host and the hardware processing unit, wherein the field field includes fields of the service header and the control header, and the data field is used for Carry business data and processed business data.

[0095] In a specific embodiment, such as figure 2 As shown, the message structure of the message may include a service header, a control header and service data. Of course, in other embodiments, the message may also include other information.

[0096] Wherein, the service header (Ser_header) includes a Ser_type field, a Ser_cntn field, an ACC_seqn field, a Type_accn field, a slice_numn field, and a port_numn field. Among them, the Ser_type field indicates the direction of the message, for example, whether it is sent by the host to the hardware processing unit or fed back to the host by the hardware processing unit. The difference...

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

Embodiments of the present invention provide a data processing method and device. The data processing method is applied to the scene where the hardware processing unit accelerates the business data sent by the host, and the method is executed by the hardware processing unit, including: receiving the data sent from the business layer of the host and transparently transmitting it through the host driver A layer request message, the request message including at least one acceleration type identifier and business data to be accelerated processing, wherein each acceleration type identifier corresponds to a kind of acceleration processing; the business data is compared with the at least one acceleration type Identify at least one accelerated processing corresponding to one-to-one. In this method, the interaction between the business layer of the host computer and the hardware processing unit does not require special driver cooperation, so that the dependence of the business layer on specific underlying drivers can be shielded. In this method, the hardware processing unit can run on different service platforms, and the heterogeneous capability of logic is enhanced, so that the dynamics and flexibility in the process of service processing can be improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data processing method and a data processing device. Background technique [0002] With the development of Internet technology, various new services continue to develop, network data types continue to enrich, and network traffic increases sharply, thus putting forward higher requirements for the processing capabilities of processing equipment. In order to improve processing capabilities, current processing devices increasingly use hardware processing units (such as FPGAs, ASICs, etc.) to accelerate some services. [0003] In the existing CPU+FPGA-based hardware acceleration scheme, the CPU (which can be considered as a "host") is used to execute the code of the business layer (also generally referred to as "application layer" and "upper layer") and the underlying driver, Wherein, the business layer is used to generate the original acceleration source data that ...

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): G06F9/46H04L45/74
CPCG06F9/546G06F9/4881H04L45/306H04L45/54H04L45/64
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