Method and system for realizing data processing and interaction

A data processing and data packet technology, applied in the field of computer communication, can solve the problems of difficult to control the number of threads, unable to reach the physical connection bandwidth, unable to effectively use the network bandwidth, etc., to achieve the effect of improving the bandwidth utilization rate

Active Publication Date: 2014-04-02
保定浪潮云计算有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when a single logical connection is established on a physical connection, data reception and transmission for a single logical connection usually cannot reach the bandwidth of the physical connection, and the network bandwidth between two nodes cannot be effectively utilized.
[0004] However, if each request to the peer is processed by a processing thread, although the utilization rate of the physical connection and the data processing rate will be significantly improved, thereby improving the efficiency of local data processing, the increasing number of threads will be difficult to control

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 system for realizing data processing and interaction
  • Method and system for realizing data processing and interaction
  • Method and system for realizing data processing and interaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0080] Such as figure 1 As shown, the embodiment of the present invention provides a method for realizing data processing and interaction, which is applied to the client, including:

[0081] S10, the command processing thread takes out the request command from the new request command linked list and inserts it into the processing command linked list, splits the request command, and inserts one or more split data packets into the sending packet linked list;

[0082] S20, the sending thread takes out the data packet from the sending packet linked list and sends it;

[0083] S...

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 realizing data processing and interaction, which is applied to a client. The method comprises the following steps: taking a request command out of a new request command linked list and inserting into a positive processing command linked list by a command processing thread, splitting the request command, and inserting data packets formed by splitting into a sending packet linked list; taking the data packets out of the sending packet listed list for sending by sending threads; inserting the data packets into a receiving packet linked list by receiving threads if the receiving threads receive the data packets from a service; judging whether the data packets in the receiving packet linked list can assemble into a complete response command or not by a data packet processing thread, and if so, taking out the data packets for assembly, inserting the response command after the completion of assembly into a response command linked list and deleting the corresponding request command in the positive processing command linked list according to the response command, wherein the sending threads and the receiving threads are multiple, and all the threads can perform parallel execution. According to the method disclosed by the invention, the bandwidth utilization rate of physical connection can be improved, and the number of logical connections can be further optimized.

Description

technical field [0001] The present invention relates to the technical field of computer communication, in particular to a method and system for realizing data processing and interaction. Background technique [0002] In the current storage architecture, data interaction between nodes, between nodes and clients, between nodes and storage terminals is indispensable. The implementation of data interaction is also different, but most of them adopt the client-server model. [0003] Usually, when a node needs other nodes to process data, a single thread sends it to the opposite end for processing through the connection between two nodes. During data processing, the opposite end needs to wait locally for the return of the processing result of the opposite end. During the peer-to-peer processing, the connection between the two nodes is in an idle state, which cannot effectively utilize network resources, and the local processing thread is also in a waiting state. The processing th...

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/06
Inventor 张在理王倩
Owner 保定浪潮云计算有限公司
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