CN104598412A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN104598412A
CN104598412A CN201410555671.4A CN201410555671A CN104598412A CN 104598412 A CN104598412 A CN 104598412A CN 201410555671 A CN201410555671 A CN 201410555671A CN 104598412 A CN104598412 A CN 104598412A
Authority
CN
China
Prior art keywords
cpu
data
transmit port
port
corresponding relation
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
Application number
CN201410555671.4A
Other languages
Chinese (zh)
Inventor
林晓峰
陈渝
李晓栋
茅俊杰
何嘉权
牟旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Sina Technology China Co Ltd
Original Assignee
Tsinghua University
Sina Technology China Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tsinghua University, Sina Technology China Co Ltd filed Critical Tsinghua University
Priority to CN201410555671.4A priority Critical patent/CN104598412A/en
Publication of CN104598412A publication Critical patent/CN104598412A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a data transmission method and device. The method comprises the steps that transmission ports are monitored, when it is monitored that the transmission ports receive data, CPUs corresponding to the transmission ports are determined according to a preset corresponding relation between the transmission ports and the central processing units (CPU), and the data are distributed to the determined CPUs to be processed. Through the corresponding relation between the CPUs and the transmission ports, an operating system of network equipment can distribute the data received by the transmission ports to the CPUs corresponding to the transmission ports to be processed, current data received by all the CPUs are related to data previously processed by the CPUs or a data result, the cache hit of the CPUs is guaranteed, and therefore the data processing speed of the CPUs is improved. In addition, other devices are connected to the data transmitted by the network equipment through one piece of data, the data are processed by the same CPUs, and the data processing stability and processing efficiency are guaranteed.

Description

A kind of data transmission method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of data transmission method and device.
Background technology
Along with the development of infotech, network equipment data volume to be dealt with grows with each passing day, and traditional single-processor can not process so a large amount of data.Nowadays, the mode of multiple CPU (central processing unit) (Central Processing Unit, CPU) collaborative work is usually adopted to process data in the network equipment.
In prior art, the network equipment is by the mode of multiple CPU collaborative work, and the ability that the network equipment self can be made to process data greatly strengthens.Usually by the operating system in the network equipment be multiple CPU distribute data, its process is specially: the transmit port in operating system real time monitoring network equipment, when monitoring transmit port and receiving data, the data that this transmit port receives will be distributed to CPU by operating system, thus, multiple CPU can collaborative work, processes a large amount of data.
But, when the data that transmit port receives by operating system distribute to different CPU, distribute according to the number of the working load of each CPU often.And, due to processed data or result before storing CPU in the high-speed cache (cache) in CPU, and CPU often will based on data processed before or result when processing current data, therefore, operating system distributes data according to the working load of CPU, just may cause this CPU when the data of pre-treatment will based on front and continued data or result be kept in the cache of other CPU, thus cause cache hit probability to decline.
Such as: the connection request of what server receives client sent set up data cube computation, and this connection request is distributed to CPU1 process, this CPU1 carries out processing rear generation first handshake data and feeds back to client, client generates the second handshake data according to this first handshake data and sends to server, now, because the working load of CPU1 significantly increases, this the second handshake data can be distributed to CPU2 process by operating system, thus causes CPU2 can not find the source of this second handshake data in the cache of self.
Visible, such mode destroys the cache hit of CPU2, CPU2 can only carry out searching in internal memory this second handshake data of process will based on the first handshake data, and the reading speed of internal memory is far below the cache of CPU2 self, thus reduces the speed of data processing.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and device, carries out the problem that data distribution reduces the processing speed of data in order to solve the network equipment to multiple CPU.
A kind of data transmission method that the embodiment of the present invention provides, comprising:
Monitoring transmit port;
When monitoring described transmit port and receiving data, according to the corresponding relation between the transmit port preset and central processing unit CPU, determine the CPU that described transmit port is corresponding;
These data are distributed to the CPU process determined.
A kind of data transmission method that the embodiment of the present invention separately provides, comprising:
The data to be sent that monitoring CPU generates;
When monitoring described CPU and generating data to be sent, according to the corresponding relation between the transmit port preset and CPU, determine the transmit port that described CPU is corresponding;
These data to be sent are sent by the transmit port determined.
A kind of data transmission device that the embodiment of the present invention separately provides, comprising: monitoring modular, determination module and distribution module, wherein;
Described monitoring modular, for monitoring transmit port;
Described determination module, for when monitoring described transmit port and receiving data, according to the corresponding relation between the transmit port preset and central processing unit CPU, determines the CPU that described transmit port is corresponding;
Described distribution module, for distributing to the CPU process determined by these data.
A kind of data transmission device that the embodiment of the present invention also provides, comprising: send monitoring modular, determination module and distribution module, wherein;
Described transmission monitoring modular, for monitoring the data to be sent that CPU generates;
Described determination module, for when monitoring described CPU and generating data to be sent, according to the corresponding relation between the transmit port preset and CPU, determines the transmit port that described CPU is corresponding;
Described distribution module, for sending these data to be sent by the transmit port determined.
The embodiment of the present invention provides a kind of data transmission method and device, by the corresponding relation of CPU and transmit port, data received by transmit port can be distributed to CPU process corresponding to this transmit port by the operating system of the network equipment, so, make the current data received by each CPU on the one hand, relevant with data processed before this CPU or data result, ensure that the cache hit of CPU, thus improve the speed of CPU process data.Also the data making other equipment use data cube computation transmit to this network equipment on the other hand, by same CPU process, ensure that stability and the treatment effeciency of data processing.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
The process schematic of the data receiver that Fig. 1 provides for the embodiment of the present invention;
The process schematic that the data that Fig. 2 provides for the embodiment of the present invention send;
The data transmission device structural representation for receiving that Fig. 3 embodiment of the present invention provides;
The data transmission device structural representation for sending that Fig. 4 embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with the specific embodiment of the invention and corresponding accompanying drawing, technical solution of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The data transmission procedure that Fig. 1 provides for the embodiment of the present invention, this process specifically comprises the following steps:
S101, monitoring transmit port.
Transmit port described in the embodiment of the present invention, include but not limited to: the logical transmission ports of the network equipment, as: transmission control protocol (Transmission Control Protocol, TCP) port, or, User Datagram Protoco (UDP) (User Datagram Protocol, UDP) port etc.Wherein, the described network equipment includes but not limited to: the equipment that server, switch etc. are provided services on the Internet for terminal device, also can comprise terminal device.
Concrete, can be monitored each transmit port in the network equipment by the operating system that the network equipment is installed, whether receive data to monitor each transmit port.
S102, when monitoring described transmit port and receiving data, according to the corresponding relation between the transmit port preset and CPU, determines the CPU that described transmit port is corresponding.
In embodiments of the present invention, the corresponding relation between transmit port and CPU can be preset in the network device, wherein, a transmit port only corresponding CPU, but a CPU may correspond in multiple transmit port.
During corresponding relation between Preset Transfer port and CPU, specifically can adopt the data structure of mapping table (namely, preserve the mapping relations between transmit port and CPU in the mapping table), or the data structure of two tuples (namely, CPU corresponding with it for transmit port is preserved as two tuple data) etc. various ways carry out between Preset Transfer port and CPU corresponding relation, do not make concrete restriction at this.
After transmit port receives data, the operating system in the network equipment according to this corresponding relation, can determine the CPU received corresponding to the transmit port of data.
These data are distributed to the CPU process determined by S103.
Also namely, in embodiments of the present invention, the data received from same transmit port, by same CPU process, so both can improve the cache hit probability of CPU, and then improve the processing speed of data.
With an instantiation, above-mentioned technique effect is described below.
Due in practical application scene, when other equipment send data to this network equipment, usual needs first set up corresponding data cube computation to this network equipment, and when setting up data cube computation, this network equipment can use a fixing transmit port to receive the data sent from this data cube computation, therefore, once data cube computation is set up, this network equipment is all just received by this fixing transmit port based on the data that this data cube computation receives.
Such as: client C1 and network equipment middle-end slogan be 10 transmit port set up data cube computation, in this data cube computation, client C1 send each data receive by this transmit port 10 in the network equipment.
Suppose that the operating system of the network equipment is according to the corresponding relation between the transmit port preset and CPU, determine that the CPU corresponding with this transmit port 10 is CPU1, thus the data received in this transmit port 10 is distributed to CPU1 by server OS.So, the data that CPU1 receives just all are sent by this data cube computation by client C1.
Again because the CPU of this network equipment is when processing from the data that this data cube computation receives, often to process based on the upper data received from this data cube computation, or process based on to the result of data on this, therefore, in the embodiment of the present invention, the data received from same transmit port are distributed to same CPU process, can ensure that the data received from same data cube computation are by same CPU process.
Along using example, when CPU1 processes each data in this data cube computation, can the result of data or correspondence be stored in the cache of CPU1 self, therefore, CPU1 process be currently received the data sent by client C1 time, its will based on upper data or result be just stored in the cache of this CPU1 self, thus, CPU1 only need search data or result in the cache of himself, just can process the data be currently received.
Visible by upper example, by the corresponding relation of CPU and transmit port, data received by transmit port can be distributed to CPU process corresponding to this transmit port by the operating system of the network equipment, so, make the data received from same data cube computation by same CPU process, thus make the data on same data cube computation or result all be kept in the cache of same CPU, effectively can improve the cache hit of CPU, thus improve the speed of CPU process data.
In addition, in practical application scene, because the quantity of the transmit port in the network equipment is generally much larger than the quantity of CPU in this network equipment, therefore, the transmit port described in the embodiment of the present invention and the corresponding relation between CPU are specifically as follows: the corresponding relation between range of port number and CPU.
Such as: suppose that the quantity of the transmit port in the network equipment has 1024, the port numbers of these transmit pories is 0 ~ 1023, and the CPU in this network equipment has 4, for convenience of representing, these 4 CPU is labeled as CPU1 ~ 4.So, the corresponding relation between the range of port number of transmit port and CPU can be expressed as table 1:
CPU The range of port number of transmit port
CPU1 0~255
CPU2 256~511
CPU3 512~767
CPU4 768~1023
Table 1
From table 1, a transmit port only corresponding CPU, but a CPU may correspond in multiple transmit port.
After setting the corresponding relation between the range of port number of transmit port and CPU, after a certain transmit port of this network equipment receives data, in above-mentioned steps S102, the process of the CPU that the operating system of this network equipment is just determined corresponding to this transmit port according to this corresponding relation is specifically as follows: the range of port number determining the port numbers place of this transmit port, according to the corresponding relation between the range of port number preset and CPU, determine the CPU that the range of port number at the port numbers place of this transmit port is corresponding.
Continuation of the previous cases, other equipment are that the transmit port of 200 establishes data cube computation in the port numbers of this network equipment, and by these data connection data, so, when the operating system of the network equipment monitor port numbers be 200 transmit port receive data after, the range of port number can determining this port numbers 200 place is 0 ~ 255, thus, according to the corresponding relation in table 1, the corresponding CPU1 of the range of port number of 0 ~ 255 can be determined, therefore, the data that this transmit port receives are distributed to CPU1 process by operating system.
More than for after the transmit port of the network equipment receives data in the embodiment of the present invention, data are distributed to the process of CPU by the operating system in this network equipment.And when CPU will send data, the network equipment select transmit port and the process sending these data as shown in Figure 2, this process is specific as follows:
S201, the data to be sent that monitoring CPU generates.
In embodiments of the present invention, the data to be sent that CPU generates include but not limited to: CPU carries out processing the result of rear generation according to the data received, or the data etc. that CPU initiatively sends to other equipment.Here it should be noted that, the data that CPU initiatively sends to other equipment, can be that this network equipment is when will set up data cube computation with other equipment further, the connection establishment request msg that CPU generates, also can be the pending data that initiatively will transmit of CPU or result etc., not make concrete restriction at this.Wherein, other equipment include but not limited to: exterior terminal equipment (as: client) or external server etc.
S202, when monitoring described CPU and generating data to be sent, according to the corresponding relation between the transmit port preset and CPU, determines the transmit port that described CPU is corresponding.
The process of distributing the data that its transmit port receives with the above-mentioned network equipment is similar, because the quantity of the transmit port in the network equipment is much larger than the quantity of CPU in this network equipment, therefore, transmit port described in step S202 and the corresponding relation between CPU, be specifically as follows: the corresponding relation between range of port number and CPU.
After setting the corresponding relation between range of port number and CPU, determine that the process of the transmit port corresponding to CPU is specially: according to the corresponding relation between the range of port number preset and CPU, determine the range of port number that described CPU is corresponding, selecting side slogan in the range of port number that the described CPU determined is corresponding, is defined as transmit port corresponding to described CPU by transmit port corresponding for the port numbers of selection.
These data to be sent are sent by the transmit port determined by S203.
In practical application scene, multiple CPU in the network equipment may generate data to be sent simultaneously, the operating system of this network equipment monitors after multiple CPU generates data to be sent, if the data to be sent of multiple CPU are all distributed to same transmit port, transmit port conflict will be caused, reduce the speed of data processing.
And, if the network equipment is only when distributing to CPU process by the data received, distribute according to the corresponding relation between CPU and transmit port, but when sending the data to be sent that CPU generates, send data not in accordance with the corresponding relation between CPU and transmit port, so also can destroy the cache hit of CPU.
Such as: suppose that two transmit pories 10 and 20 in the network equipment are when receiving data, operating system in this network equipment can according to the corresponding relation preset, the data that transmit port 10 receives are distributed to CPU1, the data that transmit port 20 receives are distributed to CPU2.After CPU1 and CPU2 generates data A to be sent and B respectively according to the data that the network equipment distributes, if in the process of transmitting of data, the operating system of the network equipment sends data not in accordance with the corresponding relation of CPU and transmit port, thus, there will be CPU1 to be sent by transmit port 20 by data A, data B is carried out situation about sending by CPU2 by transmit port 10.
Like this, after just causing other equipment to generate response data A ' according to data A, response data A ' is back to transmit port 20, and other equipment are according to after data B generation response data B ', also response data B ' can be back to transmit port 10.
The network equipment is when distributing to CPU process by the data received, still distribute according to the corresponding relation between CPU and transmit port, therefore, the response data B ' that transmit port 10 receives will be assigned to CPU1, and the response data A ' that transmit port 20 receives will be assigned to CPU2.And due to during CPU1 processing response data B ' will based on data B be kept in the cache of CPU2, during CPU2 processing response data A ' will based on data A be kept in the cache of CPU1, this just destroy CPU1 and CPU2 cache hit.
And in embodiments of the present invention, the network equipment is receiving data and sending in the process of data, all carrying out data transmission according to the corresponding relation of CPU and transmit port.Continue along using example, when CPU1 and CPU2 generates data A to be sent and B respectively, the operating system of the network equipment is according to the corresponding relation of CPU and transmit port, data A can be sent by transmit port 10, data B is sent by transmit port 20, thus, the response data A ' that other equipment return still can be back to transmit port 10, response data B ' then can be back to transmit port 20, operating system is again according to the corresponding relation of CPU and transmit port, response data A ' is distributed to CPU1, response data B ' is distributed to CPU2, just can ensure the cache hit of CPU.
Visible by upper example, the network equipment is when sending data and receiving data, all according to the corresponding relation of CPU and transmit port, data are distributed, so, the transmit port that the data to be sent on the one hand CPU being generated by the network equipment distribute to this CPU corresponding sends, there will not be transmit port conflict between multiple CPU, thus promote the speed of data processing.On the other hand, also make other equipment can be sent in the transmit port corresponding with this CPU according to the response data that the data that CPU sends return, this response data can be distributed to corresponding CPU and carry out subsequent treatment by the network equipment.Thus, improve the cache hit of CPU, also ensure that stability and the treatment effeciency of data processing.
It should be noted that, due to the operating system of the network equipment many employings Linux framework, so the data described in the embodiment of the present invention include but not limited to: socket buffer memory (socket buffer, skb) data.Skb data can comprise further: socket data, synchronous (synchronous, syn) data etc. when setting up data cube computation.Certainly, for different operating system, the data described in the embodiment of the present invention also can be the data of other types, and this does not form limitation of the invention.
Be the data transmission method that the embodiment of the present invention provides above, based on same thinking, the embodiment of the present invention also provides a kind of data transmission device.
As shown in Figure 3, data transmission device comprises: monitoring modular 301, determination module 302 and distribution module 303, wherein,
Described monitoring modular 301, for monitoring transmit port.
Described determination module 302, for when monitoring described transmit port and receiving data, according to the corresponding relation between the transmit port preset and central processing unit CPU, determines the CPU that described transmit port is corresponding.
Described distribution module 303, for distributing to the CPU process determined by these data.
In embodiments of the present invention, the corresponding relation between transmit port and CPU, is specially: the corresponding relation between range of port number and CPU.
Described determination module 302 specifically for, determine the range of port number at the port numbers place of described transmit port, according to preset range of port number and CPU between corresponding relation, determine the CPU that the range of port number at the port numbers place of described transmit port is corresponding.
As shown in Figure 4, as shown in Figure 4, wherein, this device comprises the another kind of data transmission device in the embodiment of the present invention: send monitoring modular 401, determination module 402 and distribution module 403, wherein;
Described transmission monitoring modular 401, for monitoring the data to be sent that CPU generates.
Described determination module 402, for when monitoring described CPU and generating data to be sent, according to the corresponding relation between the transmit port preset and CPU, determines the transmit port that described CPU is corresponding.
Described distribution module 403, for sending these data to be sent by the transmit port determined.
In embodiments of the present invention, the corresponding relation between transmit port and CPU, is specially: the corresponding relation between range of port number and CPU.
Described determination module 402 specifically for, according to the corresponding relation between the range of port number preset and CPU, determine the range of port number that described CPU is corresponding, selecting side slogan in the range of port number that the described CPU determined is corresponding, is defined as transmit port corresponding to described CPU by transmit port corresponding for the port numbers of selection.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as ROM (read-only memory) (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computing machine comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic RAM (DRAM), the random access memory (RAM) of other types, ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc ROM (read-only memory) (CD-ROM), digital versatile disc (DVD) or other optical memory, magnetic magnetic tape cassette, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise temporary computer readable media (transitory media), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only embodiments of the invention, be not limited to the present invention.To those skilled in the art, the present invention can have various modifications and variations.All do within spirit of the present invention and principle any amendment, equivalent replacement, improvement etc., all should be included within right of the present invention.

Claims (12)

1. a data transmission method, is characterized in that, comprising:
Monitoring transmit port;
When monitoring described transmit port and receiving data, according to the corresponding relation between the transmit port preset and central processing unit CPU, determine the CPU that described transmit port is corresponding;
These data are distributed to the CPU process determined.
2. the method for claim 1, is characterized in that, the corresponding relation between transmit port and CPU, specifically comprises:
Corresponding relation between range of port number and CPU.
3. method as claimed in claim 2, is characterized in that, according to the corresponding relation between the transmit port preset and CPU, determines specifically to comprise the CPU that described transmit port is corresponding:
Determine the range of port number at the port numbers place of described transmit port;
According to the corresponding relation between the range of port number preset and CPU, determine the CPU that the range of port number at the port numbers place of described transmit port is corresponding.
4. a data transmission method, is characterized in that, comprising:
The data to be sent that monitoring CPU generates;
When monitoring described CPU and generating data to be sent, according to the corresponding relation between the transmit port preset and CPU, determine the transmit port that described CPU is corresponding;
These data to be sent are sent by the transmit port determined.
5. method as claimed in claim 4, it is characterized in that, the corresponding relation between transmit port and CPU, specifically comprises:
Corresponding relation between range of port number and CPU.
6. method as claimed in claim 5, is characterized in that, according to the corresponding relation between the transmit port preset and CPU, determines specifically to comprise the transmit port that described CPU is corresponding:
According to the corresponding relation between the range of port number preset and CPU, determine the range of port number that described CPU is corresponding;
Selecting side slogan in the range of port number that the described CPU determined is corresponding, is defined as transmit port corresponding to described CPU by transmit port corresponding for the port numbers of selection.
7. a data transmission device, is characterized in that, comprising: monitoring modular, determination module and distribution module, wherein;
Described monitoring modular, for monitoring transmit port;
Described determination module, for when monitoring described transmit port and receiving data, according to the corresponding relation between the transmit port preset and central processing unit CPU, determines the CPU that described transmit port is corresponding;
Described distribution module, for distributing to the CPU process determined by these data.
8. device as claimed in claim 7, it is characterized in that, the corresponding relation between transmit port and CPU, specifically comprises:
Corresponding relation between range of port number and CPU.
9. device as claimed in claim 8, is characterized in that, described determination module, specifically for:
Determine the range of port number at the port numbers place of described transmit port;
According to the corresponding relation between the range of port number preset and CPU, determine the CPU that the range of port number at the port numbers place of described transmit port is corresponding.
10. a data transmission device, is characterized in that, comprising: send monitoring modular, determination module and distribution module, wherein;
Described transmission monitoring modular, for monitoring the data to be sent that CPU generates;
Described determination module, for when monitoring described CPU and generating data to be sent, according to the corresponding relation between the transmit port preset and CPU, determines the transmit port that described CPU is corresponding;
Described distribution module, for sending these data to be sent by the transmit port determined.
11. devices as claimed in claim 10, it is characterized in that, the corresponding relation between transmit port and CPU, specifically comprises:
Corresponding relation between range of port number and CPU.
12. devices as claimed in claim 11, is characterized in that, described determination module, specifically for:
According to the corresponding relation between the range of port number preset and CPU, determine the range of port number that described CPU is corresponding;
Selecting side slogan in the range of port number that the described CPU determined is corresponding, is defined as transmit port corresponding to described CPU by transmit port corresponding for the port numbers of selection.
CN201410555671.4A 2014-10-17 2014-10-17 Data transmission method and device Pending CN104598412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410555671.4A CN104598412A (en) 2014-10-17 2014-10-17 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410555671.4A CN104598412A (en) 2014-10-17 2014-10-17 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN104598412A true CN104598412A (en) 2015-05-06

Family

ID=53124217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410555671.4A Pending CN104598412A (en) 2014-10-17 2014-10-17 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN104598412A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979423A (en) * 2005-11-30 2007-06-13 迈普(四川)通信技术有限公司 Multi-processor load distribution-regulation method
CN101409673A (en) * 2008-11-12 2009-04-15 北京恒光创新科技股份有限公司 Method for transmitting network adapter data, network adapter and system
CN102426544A (en) * 2011-11-04 2012-04-25 浪潮(北京)电子信息产业有限公司 Task allocating method and system
CN103765837A (en) * 2012-08-10 2014-04-30 华为技术有限公司 Multi-CPU packet processing method and system, switching unit and board

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979423A (en) * 2005-11-30 2007-06-13 迈普(四川)通信技术有限公司 Multi-processor load distribution-regulation method
CN101409673A (en) * 2008-11-12 2009-04-15 北京恒光创新科技股份有限公司 Method for transmitting network adapter data, network adapter and system
CN102426544A (en) * 2011-11-04 2012-04-25 浪潮(北京)电子信息产业有限公司 Task allocating method and system
CN103765837A (en) * 2012-08-10 2014-04-30 华为技术有限公司 Multi-CPU packet processing method and system, switching unit and board

Similar Documents

Publication Publication Date Title
AU2014235793B2 (en) Automatic tuning of virtual data center resource utilization policies
US9686330B2 (en) Topic-based messaging using consumer address and pool
US9110884B2 (en) Message publishing and subscribing method and apparatus
WO2020000011A1 (en) Blockchain system and method
EP2942914B1 (en) Load sharing method and apparatus
US9940020B2 (en) Memory management method, apparatus, and system
CN110278161B (en) Message distribution method, device and system based on user mode protocol stack
CN105991660B (en) System for resource sharing among multiple cloud storage systems
CN111338806B (en) Service control method and device
CN105045762A (en) Management method and apparatus for configuration file
CN105373420A (en) Data transmission method and apparatus
US20210044653A1 (en) Method, apparatus, client terminal, and server for data processing
US11683316B2 (en) Method and device for communication between microservices
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN104794114A (en) Data processing method and device
US10581997B2 (en) Techniques for storing or accessing a key-value item
CN104598412A (en) Data transmission method and device
JP6233846B2 (en) Variable-length nonce generation
CN112866355B (en) System and method for server failover and load balancing
US10904719B2 (en) Message shunting method, device and system based on user mode protocol stack
US9942314B2 (en) System and method for optimizing web service availability with a node group agreement protocol
US20180032566A1 (en) Managing systems hosted at data centers
CN109088913B (en) Method for requesting data and load balancing server
CN105072047A (en) Message transmitting and processing method
CN106506247B (en) Virtual network creating method and device

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

Application publication date: 20150506

RJ01 Rejection of invention patent application after publication