CN106101251A - The data processing method of cloud host computer system based on QOS and device - Google Patents
The data processing method of cloud host computer system based on QOS and device Download PDFInfo
- Publication number
- CN106101251A CN106101251A CN201610514229.6A CN201610514229A CN106101251A CN 106101251 A CN106101251 A CN 106101251A CN 201610514229 A CN201610514229 A CN 201610514229A CN 106101251 A CN106101251 A CN 106101251A
- Authority
- CN
- China
- Prior art keywords
- message
- main frame
- cloud main
- cloud
- qos
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses data processing method and the device of a kind of cloud host computer system based on QOS, the method includes obtaining the message that cloud main frame is sent the message structure description initializing described message, message structure according to described message describes the cloud main frame QOS rank getting described message, and obtains in physical network card transmit queue the pre-set space number corresponding to this cloud main frame according to cloud main frame QOS rank;Then reach described pre-set space number when the message number corresponding to this cloud main frame in the transmit queue of physical network card, then return this message to this cloud main frame and send failed confirmation message;If not up to, then sending according to normal message.The present invention both ensure that the Appropriate application of resource, also improves the treatment effeciency of data.
Description
Technical field
The present invention relates to data message process, particularly relate to cloud host computer system medium cloud main frame to host send message time
Data message processing method and device.
Background technology
In cloud host computer system, cloud main frame, when network sends resource, can be forwarded by host, and cloud main frame is first
First message is sent to host, is then passed through host and message is sent in network.But, owing to the resource of host has
Limit, in general cloud main frame is the resource using host according to respective configuration equilibrium, but different user's request meetings
There is different prioritization, therefore, in the case of the resource-constrained of host, how to meet demand and the money of user
The Appropriate application in source is the most critically important.
Summary of the invention
In order to overcome the deficiencies in the prior art, it is an object of the invention to provide a kind of cloud host computer system based on QOS
Data processing method, it can solve the problem that the effect that the cloud host system resources of prior art can not reasonably utilize, data process
The problem that rate is low.
The purpose of the present invention realizes by the following technical solutions:
The invention discloses the data processing method of a kind of cloud host computer system based on QOS, including:
S1: obtaining the message that cloud main frame is sent the message structure description initializing described message, this message structure is retouched
State the cloud main frame QOS rank including message;
S2: describe the cloud main frame QOS rank getting described message according to the message structure of described message;
S3: obtain pre-set space corresponding to this cloud main frame in physical network card transmit queue according to cloud main frame QOS rank
Number;
S4: judge in the transmit queue of physical network card, whether this message number corresponding to cloud main frame reaches described pre-set space
Number, the most then perform S5;If it is not, then perform S6;
S5: return this message to this cloud main frame and send failed confirmation message;
S6: send described message to the transmit queue of physical network card, and send successfully confirmation to cloud main frame returned packet
Message.
Preferably, the message number that described pre-set space number is sent by described cloud main frame is in physical network card transmit queue
Maximum number.
The invention discloses the data processing equipment of a kind of cloud host computer system based on QOS, including:
Obtain message module, retouch for obtaining the message that cloud main frame sent the message structure initializing described message
State;
Obtain QOS level block, describe the QOS level getting described message for the message structure according to described message
Not;Obtain pre-set space digital-to-analogue block, for obtaining this cloud main frame institute in physical network card transmit queue according to cloud main frame QOS rank
Corresponding pre-set space number;The message number that described pre-set space number is sent by described cloud main frame is in physical network card transmit queue
Maximum number;
Judge module, in the transmit queue judging physical network card, whether this message number corresponding to cloud main frame exceedes institute
State pre-set space number, the most then perform to return to confirm module;If it is not, then perform to send message module;
Return and confirm module, send failed confirmation message for returning this message to cloud main frame;
Send message module, for sending described message to the transmit queue of physical network card, and to corresponding cloud main frame
Returned packet sends and successfully confirms message.
Preferably, the message number that described pre-set space number is sent by described cloud main frame is in physical network card transmit queue
Maximum number.
Compared to existing technology, the beneficial effects of the present invention is: the present invention is by according to the message by specific QOS rank
Block cloud main frame to the cloud main frame return failed confirmation message of transmission and send message to host, thus be sending out of physical network card
Send queue to get the more time in network, send message so that resource is reasonably used and data message
High efficiency of transmission.
Accompanying drawing explanation
Fig. 1 provides the method flow diagram of an embodiment for the present invention;
Fig. 2 is the apparatus module figure that the present invention provides an embodiment.
Detailed description of the invention
Below, in conjunction with accompanying drawing and detailed description of the invention, the present invention is described further:
As it is shown in figure 1, the invention discloses the data processing method of a kind of cloud host computer system based on QOS, it is applied to
The data message that cloud host computer system medium cloud main frame is sent is sent to host the process being sent on network by host,
Wherein host namely refer to physical equipment, comprising:
S1: obtaining the message that cloud main frame is sent the message structure description initializing described message, this message structure is retouched
State the cloud main frame QOS rank including message.
Wherein, when cloud main frame sends message in network, being first sent in host by message, message enters into physics
In device network message router, this network message router initializes described message and the message structure of message is described
Preserving, this message structure describes the QOS rank including message.The rank of the QOS of this message refers to its corresponding cloud main frame
QOS rank, for representing the priority of message, such as QOS rank is the highest, and this message can preferentially be sent or perform.
S2: describe the cloud main frame QOS rank getting described message according to the message structure of described message.
Message in list to be sent is sent to the transmit queue of physical network card, in order to forward the packet in network.
Owing to each message is from its corresponding QOS rank, therefore, when sending message, first obtain its QOS rank,
Then corresponding message is being sent according to QOS rank.
S3: obtain pre-set space corresponding to this cloud main frame in physical network card transmit queue according to cloud main frame QOS rank
Number.
Wherein, owing to the QOS rank of message is exactly the QOS rank of cloud main frame in fact, from the message of same cloud main frame
Its QOS rank is identical, and this pre-set space number refers to message that same cloud main frame the sent transmission team at physical network card
The maximum space number distributed in row, that is to say maximum message segment number present in the transmit queue of physical network card.This presets sky
Between number can be fixing numeral, it is also possible to be that a ratio value (say and refer to that the message that a cloud main frame is sent takies thing by this ratio value
The ratio of the space number in the transmit queue of reason network interface card), this pre-set space number can set, such as according to different QOS ranks
QOS rank is low, and its corresponding pre-set space number is the fewest, and QOS rank is high, and its corresponding pre-set space number is the most.The most also
The pre-set space number that each cloud main frame is corresponding can be determined according to actual situation.
S4: judge in the transmit queue of physical network card, whether this message number corresponding to cloud main frame exceedes described pre-set space
Number, the most then perform S5;If it is not, then perform S6.
When sending message to the transmit queue of physical network card, first determine whether this message institute in the transmit queue of physical network card
Whether the message number that corresponding cloud main frame is sent reaches the pre-set space number corresponding to described cloud main frame, if reaching, then says
The message that in bright physical network card, this cloud main frame is sent has been maxed out number, therefore can not be sending out to described physical network card
Send queue to send this message, continue executing with next step operation.If reaching, then according to the normal step operation sending message.If
Determine reasonable distribution and the Effec-tive Function of network of the pre-allocated space number of message, beneficially resource.
S5: return this message to this cloud main frame and send failed confirmation message.
Wherein, the message number sent when the cloud main frame corresponding to this message in the transmit queue of physical network card reaches institute
During corresponding pre-set space number, then illustrate that the message in the transmit queue of physical network card has reached maximum number, therefore, to this cloud
Main frame returns this message and sends failed confirmation message.
S6: send described message to the transmit queue of physical network card, and send successfully confirmation to cloud main frame returned packet
Message.
In this step, the message number sent when the cloud main frame corresponding to this message in the transmit queue of physical network card does not has
When having the pre-set space number reaching corresponding, continue, according to the normal flow process sending message, message is sent to physical network card
Transmit queue, then sends to cloud main frame returned packet and successfully confirms message.
As in figure 2 it is shown, the invention also discloses the data processing equipment of a kind of cloud host computer system based on QOS, including:
Obtain message module, retouch for obtaining the message that cloud main frame sent the message structure initializing described message
State;
Obtain QOS level block, describe the QOS level getting described message for the message structure according to described message
Not;
Obtain pre-set space digital-to-analogue block, for obtaining this cloud in physical network card transmit queue according to cloud main frame QOS rank
Pre-set space number corresponding to main frame;The message number that described pre-set space number is sent by described cloud main frame sends at physical network card
Maximum number in queue;
Judge module, in the transmit queue judging physical network card, whether this message number corresponding to cloud main frame exceedes institute
State pre-set space number, the most then perform to return to confirm module;If it is not, then perform to send message module;
Return and confirm module, send failed confirmation message for returning this message to cloud main frame;
Send message module, for sending described message to the transmit queue of physical network card, and to corresponding cloud main frame
Returned packet sends and successfully confirms message.
Preferably, the message number that described pre-set space number is sent by described cloud main frame is in physical network card transmit queue
Maximum number.
It will be apparent to those skilled in the art that can technical scheme as described above and design, make other various
Corresponding change and deformation, and all these change and deformation all should belong to the protection domain of the claims in the present invention
Within.
Claims (4)
1. the data processing method of cloud host computer system based on QOS, it is characterised in that including:
S1: obtain the message that cloud main frame is sent the message structure description initializing described message, during this message structure describes
Cloud main frame QOS rank including message;
S2: describe the cloud main frame QOS rank getting described message according to the message structure of described message;
S3: obtain pre-set space number corresponding to this cloud main frame in physical network card transmit queue according to cloud main frame QOS rank;
S4: judge in the transmit queue of physical network card, whether this message number corresponding to cloud main frame reaches described pre-set space number,
The most then perform S5;If it is not, then perform S6;
S5: return this message to this cloud main frame and send failed confirmation message;
S6: send described message to the transmit queue of physical network card, and successfully confirm message to the transmission of cloud main frame returned packet.
2. the data processing method of cloud host computer system based on QOS as claimed in claim 1, it is characterised in that described default sky
Between count the message number sent by described cloud main frame maximum number in physical network card transmit queue.
3. the data processing equipment of cloud host computer system based on QOS, it is characterised in that including:
Obtain message module, for obtaining the message that cloud main frame is sent the message structure description initializing described message, should
Message structure describes the cloud main frame QOS rank including message;
Obtain QOS level block, describe the QOS rank getting described message for the message structure according to described message;
Obtain pre-set space digital-to-analogue block, for obtaining this cloud main frame in physical network card transmit queue according to cloud main frame QOS rank
Corresponding pre-set space number;
Judge module, in the transmit queue judging physical network card, whether this message number corresponding to cloud main frame exceedes described pre-
If space number, the most then perform to return to confirm module;If it is not, then perform to send message module;
Return and confirm module, send failed confirmation message for returning this message to cloud main frame;
Send message module, for sending described message to the transmit queue of physical network card, and return to corresponding cloud main frame
Message sends and successfully confirms message.
4. data processing method based on cloud host computer system as claimed in claim 3, it is characterised in that described pre-set space number
The message number sent by described cloud main frame maximum number in physical network card transmit queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610514229.6A CN106101251A (en) | 2016-06-30 | 2016-06-30 | The data processing method of cloud host computer system based on QOS and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610514229.6A CN106101251A (en) | 2016-06-30 | 2016-06-30 | The data processing method of cloud host computer system based on QOS and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106101251A true CN106101251A (en) | 2016-11-09 |
Family
ID=57211720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610514229.6A Pending CN106101251A (en) | 2016-06-30 | 2016-06-30 | The data processing method of cloud host computer system based on QOS and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106101251A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1210656A (en) * | 1996-02-05 | 1999-03-10 | 诺基亚电信公司 | Short message queuing mechanism |
US20050246570A1 (en) * | 2000-10-23 | 2005-11-03 | International Business Machines Corporation | Dynamic modification of fragmentation size cluster communication parameter in clustered computer system |
CN103051560A (en) * | 2013-01-07 | 2013-04-17 | 浙江工商大学 | Implementation method for retransmitting and controlling congestion control in separating system |
CN103200125A (en) * | 2013-03-28 | 2013-07-10 | 广东电网公司电力调度控制中心 | Method and system for avoiding electric power data network node congestion |
CN104378308A (en) * | 2014-11-19 | 2015-02-25 | 盛科网络(苏州)有限公司 | Method and device for detecting message sending rate |
-
2016
- 2016-06-30 CN CN201610514229.6A patent/CN106101251A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1210656A (en) * | 1996-02-05 | 1999-03-10 | 诺基亚电信公司 | Short message queuing mechanism |
US20050246570A1 (en) * | 2000-10-23 | 2005-11-03 | International Business Machines Corporation | Dynamic modification of fragmentation size cluster communication parameter in clustered computer system |
CN103051560A (en) * | 2013-01-07 | 2013-04-17 | 浙江工商大学 | Implementation method for retransmitting and controlling congestion control in separating system |
CN103200125A (en) * | 2013-03-28 | 2013-07-10 | 广东电网公司电力调度控制中心 | Method and system for avoiding electric power data network node congestion |
CN104378308A (en) * | 2014-11-19 | 2015-02-25 | 盛科网络(苏州)有限公司 | Method and device for detecting message sending rate |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9568975B2 (en) | Power balancing to increase workload density and improve energy efficiency | |
CN107852413B (en) | Network device, method and storage medium for offloading network packet processing to a GPU | |
US10250518B2 (en) | Apparatus and method for scheduling packet in communication system | |
US20160378570A1 (en) | Techniques for Offloading Computational Tasks between Nodes | |
US20160072723A1 (en) | Method and system for determining bandwidth demand | |
CN110831039A (en) | Data transmission method and transmission server in multi-path concurrent system | |
US20170289242A1 (en) | Technologies for dynamic work queue management | |
CN105183585B (en) | Data backup method and device | |
CN114095438B (en) | Data transmission method, apparatus, device, storage medium and computer program product | |
WO2017185615A1 (en) | Method for determining service status of service processing device and scheduling device | |
CN113141321B (en) | Data transmission method based on edge calculation and electronic equipment | |
CN105095299A (en) | Picture capturing method and system | |
CN111030945A (en) | Disaster recovery method, disaster recovery gateway, storage medium, device and system | |
CN108650709A (en) | A kind of uplink power distribution method and mobile communication system | |
CN104793982A (en) | Method and device for establishing virtual machine | |
US9916182B2 (en) | Method and apparatus for allocating stream processing unit | |
CN104158860A (en) | Job scheduling method and job scheduling system | |
CN106209676A (en) | The data processing method of cloud host computer systems based on many equipment and device | |
CN105407059A (en) | QoS scheduler and scheduling method for SCSI target device | |
CN108989442A (en) | Data distributing method, system and control node | |
CN107689979B (en) | method and equipment for processing download request | |
US9917789B2 (en) | Computing element allocation in data receiving link | |
CN104933059B (en) | File prestige acquisition methods, gateway and file reputation server | |
CN106101251A (en) | The data processing method of cloud host computer system based on QOS and device | |
US10250515B2 (en) | Method and device for forwarding data messages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |