CN103118063A - Method and system for software channel processing - Google Patents

Method and system for software channel processing Download PDF

Info

Publication number
CN103118063A
CN103118063A CN2012104680113A CN201210468011A CN103118063A CN 103118063 A CN103118063 A CN 103118063A CN 2012104680113 A CN2012104680113 A CN 2012104680113A CN 201210468011 A CN201210468011 A CN 201210468011A CN 103118063 A CN103118063 A CN 103118063A
Authority
CN
China
Prior art keywords
software
server
software passage
passage
type
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
CN2012104680113A
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.)
SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SUZHOU YIBEI INFORMATION TECHNOLOGY 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 SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd
Priority to CN2012104680113A priority Critical patent/CN103118063A/en
Publication of CN103118063A publication Critical patent/CN103118063A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a system for software channel processing. The method includes the following steps that data packages are received by a network processor and transmitted to a server; and types of the data packages are confirmed, software channels corresponding to the data packages are confirmed by the server according to the types of the data packages and a comparison table of the types of the data packages and the software channels, and the data packages are distributed to the corresponding software channels. If the ratio of current load carrying capacity to maximum load carrying capacity of all the software channels of the server is less than or equal to a preset value, the software channels are adjusted by the server according to a preset strategy.

Description

A kind of method and system of process software passage
Technical field
The invention belongs to network communication field, relate in particular to a kind of method and system of process software passage.
Background technology
At present, after network processing unit receive data bag, directly send to server, server is set up the software passage according to the packet that receives.After server was set up the software passage, if there is no data packet transmission, the software passage still existed always, so, underuses resource.In addition, in said method, the each receive data Bao Junxu of server sets up the software passage, easily causes the wasting of resources.
Summary of the invention
The invention provides a kind of method and system of process software passage, to address the above problem.
The invention provides a kind of method of process software passage.Said method comprises the following steps: network processing unit receive data bag, and with data packet transmission to server; The type of server specified data bag, and according to type and the type of data packet software passage corresponding with software passage table of comparisons specified data bag of packet, and with allocation of packets to corresponding software passage.Wherein, if the current bearing capacity of all software passages of server and the ratio of maximum bearing capacity are less than or equal to preset value, server is adjusted the software passage according to preset strategy.
The present invention also provides a kind of system of process software passage, comprises network processing unit and server.The network processing unit connection server.Network processing unit is used for the receive data bag, and with data packet transmission to server.Server is used for the type of specified data bag, and according to type and the type of data packet software passage corresponding with software passage table of comparisons specified data bag of packet, and with allocation of packets to software passage accordingly.Wherein, if the current bearing capacity of all software passages of server and the ratio of maximum bearing capacity are less than or equal to preset value, server is adjusted the software passage according to preset strategy.
Compared to prior art, method and system according to process software passage provided by the invention, server is according to type and the type of data packet software passage corresponding with software passage table of comparisons specified data bag of packet, and with allocation of packets to corresponding software passage.In addition, if the current bearing capacity of all software passages of server and the ratio of maximum bearing capacity are less than or equal to preset value, server is adjusted the software passage according to preset strategy.So, take full advantage of the software channel resource in server, avoid the wasting of resources.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Figure 1 shows that the flow chart of the method for the process software passage that preferred embodiment according to the present invention provides;
Figure 2 shows that the schematic diagram of the system of the process software passage that preferred embodiment according to the present invention provides.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature in embodiment in the application can make up mutually.
Figure 1 shows that the flow chart of the method for the process software passage that preferred embodiment according to the present invention provides.As shown in Figure 1, the method for the process software passage that provides of preferred embodiment of the present invention comprises step 101~102.
In step 101, network processing unit receive data bag, and with described data packet transmission to server.Particularly, after network processing unit receive data bag, with data packet transmission to server.
In step 102, described server is determined the type of described packet, and determines with the software passage table of comparisons software passage that described packet is corresponding according to type and the type of data packet of described packet, and with the extremely corresponding software passage of described allocation of packets.Wherein, if the current bearing capacity of all software passages of described server and the ratio of maximum bearing capacity are less than or equal to preset value, described server is adjusted described software passage according to preset strategy.
In the present embodiment, the type of packet comprises voice data, video data and general data.Yet the present invention does not limit this.In the present embodiment, after server receives the packet of network processing unit transmission, the frame originating point information of resolution data bag, and according to the type of frame originating point information specified data bag.
In the present embodiment, server stores type of data packet and the software passage table of comparisons.Described type of data packet and the software passage table of comparisons comprise the corresponding relation of type of data packet and software channel address information.In this, type of data packet and software passage table of comparisons example are as shown in table 1.Yet the present invention does not limit this.In practical application, type of data packet and the software passage table of comparisons are set as required.
Figure BSA00000807630800021
Table 1
Wherein, the address information of software passage comprises IP address and port numbers.In this, server receive data bag A, and the type of specified data bag A is type of data packet 1, server is software passage 1~3,6 according to software passage corresponding to table 1 specified data bag Class1.
In the present embodiment, after software passage corresponding to server specified data bag, with allocation of packets to corresponding software passage.Still take packet A as example, server is according to table 1 specified data bag A correspondence four software passages (that is, software passage 1~3 and software passage 6).In this, server is dispensed to the highest software passage of idleness in four software passages with packet A.Yet the present invention does not limit this.In other embodiment, server can be dispensed to packet A one of them of four software passages at random.
In addition, in the present embodiment, preset strategy is: the software passage of setting preset ratio is the sleep software passage, and dormancy time is Preset Time, after described Preset Time, when if the current bearing capacity of all software passages of described server and the ratio of maximum bearing capacity still are less than or equal to described preset value, after the transformation task of described sleep software passage is migrated to other software passages, close described sleep software passage.Wherein, server is not reallocated new transformation task to the sleep software passage in dormancy time.
Particularly, if when the ratio of the current bearing capacity of all software passages of server and maximum bearing capacity is less than or equal to preset value, the software passage that server is set preset ratio is the sleep software passage, and the setting Preset Time is dormancy time.After dormancy time, when if the ratio of the current bearing capacity of all softwares of server and maximum bearing capacity still is less than or equal to preset value, server migrates to other software passages with the transformation task of sleep software passage, and closes the sleep software passage of the transformation task of having moved.Wherein, the sleep software passage is when the migration transformation task, server is according to the sleep software passage and move type of data packet and the software passage table of comparisons of the information modification storage of target software passage, that is, and and with the sleep software passage in the migration target software passage replacement table of comparisons.If the part of packet is transmitted on the sleep software passage, another part is unallocated to the sleep software passage, server also unallocated this partial data to the sleep software channel transfer distribute to migration target software channel transfer, and this partial data that will transmit on the sleep software passage is stored to buffer area corresponding to migration target software passage.So, guarantee the consistency of data packet transmission.
With reference to table 1, created 6 software passages as example take server, and the ratio of the current bearing capacity of all software passages of server and maximum bearing capacity is less than preset value (for example, 60%).At this moment, setting preset ratio is for example 40%, and dormancy time is for example 1 hour.In this, the number of sleep software passage is calculated as follows: 6*40%=2.4 rounds and can get 2.Therefore, server determines that 2 software passages are sleep software passage (for example, software passage 1 and software passage 2).In dormancy time (namely, 1 hour) after, if the current bearing capacity of all software passages of server and the ratio of maximum bearing capacity still are less than or equal to preset value (namely, 60%) time, server (for example migrates to other software passages with the transformation task of sleep software passage (software passage 1 and software passage 2), software passage 3~6), afterwards, close software passage 1 and software passage 2.So, realize the reasonable utilization of software channel resource.
Figure 2 shows that the schematic diagram of the system of the process software passage that preferred embodiment according to the present invention provides.As shown in Figure 2, the system of the process software passage that provides of preferred embodiment of the present invention comprises network processing unit 10 and server 12.Network processing unit 10 connection servers 12.
In the present embodiment, network processing unit 10 is used for the receive data bag, and with data packet transmission to server 12.Server 12 is used for the type of specified data bag, and according to type and the type of data packet software passage corresponding with software passage table of comparisons specified data bag of packet, and with allocation of packets to software passage accordingly.Wherein, if the current bearing capacity of server 12 all software passages and the ratio of maximum bearing capacity are less than or equal to preset value, server 12 is adjusted the software passage according to preset strategy.Specific operation process about the system of described process software passage is described with above-mentioned method, therefore repeat no more in this.
In sum, the method and system of the process software passage that preferred embodiment provides according to the present invention, server is according to type and the type of data packet software passage corresponding with software passage table of comparisons specified data bag of packet, and with allocation of packets to corresponding software passage.In addition, if the current bearing capacity of all software passages of server and the ratio of maximum bearing capacity are less than or equal to preset value, server is adjusted the software passage according to preset strategy.So, take full advantage of the software channel resource in server, avoid the wasting of resources.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. the method for a process software passage, is characterized in that, comprises the following steps:
Network processing unit receive data bag, and with described data packet transmission to server;
Described server is determined the type of described packet, and determines with the software passage table of comparisons software passage that described packet is corresponding according to type and the type of data packet of described packet, and with the extremely corresponding software passage of described allocation of packets,
Wherein, if the current bearing capacity of all software passages of described server and the ratio of maximum bearing capacity are less than or equal to preset value, described server is adjusted described software passage according to preset strategy.
2. method according to claim 1, it is characterized in that, described preset strategy is: the software passage of setting preset ratio is the sleep software passage, and dormancy time is Preset Time, after described Preset Time, when if the current bearing capacity of all software passages of described server and the ratio of maximum bearing capacity still are less than or equal to described preset value, after the transformation task of described sleep software passage is migrated to other software passages, close described sleep software passage.
3. method according to claim 1, is characterized in that, the type of described packet comprises voice data, video data and general data.
4. method according to claim 1, is characterized in that, described type of data packet and the software passage table of comparisons comprise the corresponding relation of type of data packet and software channel address information.
5. method according to claim 1, is characterized in that, the described type of data packet of described server stores and the software passage table of comparisons.
6. the system of a process software passage, is characterized in that, comprises network processing unit and server, and described network processing unit connects described server,
Described network processing unit is used for the receive data bag, and with described data packet transmission to server,
Described server is used for determining the type of described packet, and determines with the software passage table of comparisons software passage that described packet is corresponding according to type and the type of data packet of described packet, and with the extremely corresponding software passage of described allocation of packets,
Wherein, if the current bearing capacity of all software passages of described server and the ratio of maximum bearing capacity are less than or equal to preset value, described server is adjusted described software passage according to preset strategy.
CN2012104680113A 2012-11-19 2012-11-19 Method and system for software channel processing Pending CN103118063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104680113A CN103118063A (en) 2012-11-19 2012-11-19 Method and system for software channel processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104680113A CN103118063A (en) 2012-11-19 2012-11-19 Method and system for software channel processing

Publications (1)

Publication Number Publication Date
CN103118063A true CN103118063A (en) 2013-05-22

Family

ID=48416333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104680113A Pending CN103118063A (en) 2012-11-19 2012-11-19 Method and system for software channel processing

Country Status (1)

Country Link
CN (1) CN103118063A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010778A1 (en) * 2000-01-13 2002-01-24 Yoshihisa Harada Server and network system and received load control method thereof
CN101257434A (en) * 2007-06-11 2008-09-03 艾诺通信系统(苏州)有限责任公司 Method for looking up speedup digital signal processor software in VoIP system
CN101505234A (en) * 2009-03-17 2009-08-12 中兴通讯股份有限公司 System and method for inter-board communication
CN102440034A (en) * 2011-10-31 2012-05-02 华为技术有限公司 Base station energy saving processing method and base station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010778A1 (en) * 2000-01-13 2002-01-24 Yoshihisa Harada Server and network system and received load control method thereof
CN101257434A (en) * 2007-06-11 2008-09-03 艾诺通信系统(苏州)有限责任公司 Method for looking up speedup digital signal processor software in VoIP system
CN101505234A (en) * 2009-03-17 2009-08-12 中兴通讯股份有限公司 System and method for inter-board communication
CN102440034A (en) * 2011-10-31 2012-05-02 华为技术有限公司 Base station energy saving processing method and base station

Similar Documents

Publication Publication Date Title
AU2013351670B2 (en) Business scheduling method and apparatus and convergence device
WO2015096681A1 (en) Method and device for processing service access
CN100471162C (en) Method for releasing and processing virtual circuit information and supplier edge device
CN102025630A (en) Load balancing method and load balancing system
CN103312605A (en) Gateway device identity setting method and management gateway device
CN104780115A (en) Load balancing method and load balancing system in cloud computing environment
US11316916B2 (en) Packet processing method, related device, and computer storage medium
KR20140032064A (en) Contents delivery service method using contents sharing, and cache apparatus therefor
JP2016531372A (en) Memory module access method and apparatus
CN107645540A (en) The load-balancing method of web application systems
CN109962961A (en) A kind of reorientation method and system of content distribution network CDN service node
CN107529186A (en) The method and system of channel transmission upstream data, client, server
US9363199B1 (en) Bandwidth management for data services operating on a local network
WO2013178108A1 (en) Rate control system and method based on wlan
CN104780232A (en) A resource allocating method, controller and system
CN103401954B (en) The implementation method of virtual DHCP
CN104754521A (en) Message transmitting method, wireless access point, wireless controller and system
JP5437290B2 (en) Service distribution method, service distribution device, and program
CN101808037A (en) Method and device for traffic management in switch network
CN105656794A (en) Data distribution method and device
CN101888379B (en) Multi-proxy server dynamic linking method of network television and network television system
WO2023061119A1 (en) Flow migration method and network device
CN103118115B (en) Facing cloud calculates virtual machine management method and the device of user
CN103118063A (en) Method and system for software channel processing
CN105338528B (en) Method, system and the wireless access node that packet redirects

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130522