Data processing method and apparatus

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: 2015-09-09
HUAWEI TECH CO LTD
View PDF5 Cites 16 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
  • Data processing method and apparatus
  • Data processing method and apparatus
  • Data processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] Reference 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 service data sent by the host. The concept of the host and the hardware processing unit is the same as the prior art, that is, the host generally refers to a system mainly composed of one or more CPUs. The software code stored in the memory is executed by the CPU to realize the functions of the business layer and the driver layer; and the hardware processing unit refers to a unit implemented by hardware devices such as FPGA or ASIC, which 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 an interconnection interface. The data processing method in the embodiment of the present invention is implemented by a hardware processing unit, and may include:

[008...

Embodiment 2

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

[0091] After the hardware processing unit parses and obtains the service data, the acceleration type identifier, and the acceleration sequence identifier, it can perform acceleration processing on the service data 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 to the request message, the hardware processing unit can perfor...

Embodiment 3

[0094] Based on all the above embodiments, in this embodiment, the message transmitted between the host and the hardware processing unit can be set with a field field and a data field, where the field field contains the 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 can include a service header, a control header, and service data. Of course, in other embodiments, the message may also include other information.

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

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

An embodiment of the present invention provides a data processing method and apparatus. The data processing method is applied to a scene that a hardware processing unit accelerates business data sent by a host; the method is implemented by the hardware processing unit and comprises the following steps of: receiving a request message passing through a driving layer of the host and sent by a business layer of the host, wherein the request message comprises at least one acceleration type identification and to-be-accelerated business data, and each acceleration type identification corresponds to an acceleration processing; performing at least one type of acceleration processing, in one-to-one correspondence with the at least one acceleration type identification, on the business data. According to the method, the interaction between the business layer of the host and the hardware processing unit does not need dedicated drive for cooperation, so that the dependence of the business layer on specific bottom layer driving can be shielded; the hardware processing unit in the method can run in different business platforms, and the heterogeneous capability of logic is enhanced, so that the dynamicity and flexibility in a business processing process can be improved.

Description

Technical field [0001] The present invention relates to the field of data processing technology, in particular to a data processing method and a data processing device. Background technique [0002] With the development of Internet technology, the continuous development of various new services, the continuous enrichment of network data types, and the sharp increase in network traffic have put forward higher requirements on the processing capabilities of processing equipment. In order to improve processing capabilities, current processing devices are increasingly using hardware processing units (such as FPGAs, ASICs, etc.) to accelerate some services. [0003] In the existing hardware acceleration scheme based on CPU+FPGA, the CPU (can be considered as the "host") is used to execute the business layer (generally also called the "application layer", "upper layer") and the code of the underlying driver. Among them, the business layer is used to generate original acceleration source d...

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): 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