CN103297245A - Network server - Google Patents
Network server Download PDFInfo
- Publication number
- CN103297245A CN103297245A CN2013102487900A CN201310248790A CN103297245A CN 103297245 A CN103297245 A CN 103297245A CN 2013102487900 A CN2013102487900 A CN 2013102487900A CN 201310248790 A CN201310248790 A CN 201310248790A CN 103297245 A CN103297245 A CN 103297245A
- Authority
- CN
- China
- Prior art keywords
- port
- turns
- webserver
- service
- layer
- 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
Images
Abstract
The invention provides a network server which comprises a business port layer. Each port in the business port layer points at an alternative port layer that various business processes in the network server correspond to. The number of alternative ports in each alternative port layer is a dynamic value. The number of the alternative ports that the business processes correspond to is increased or decreased by 1 each time one visiting client is increased or reduced in the business processes, and the visiting clients visit the corresponding business processes through different alternative ports. The alternative ports are opened by the business processes in turns in a circulation mode. The network server can solve the problem that the server performance declines severely due to the fact that some visiting clients monopolize process resources for a long time, and visiting smoothness is improved.
Description
Technical field
The present invention relates to network communication field, especially a kind of webserver.
Background technology
The webserver needs the huge access customer of reply quantity, therefore in the course of the work, distribution for the visit order of access customer, determine the service behaviour of the webserver, in order to prevent phenomenons such as network traffic congestion, deadlock, must provide rational visit Distribution Order.
And for the present webserver, comprise a communication port layer, server is judged the business that it is applied at first at each access customer, then should business by corresponding port assignment in the corresponding service process; Yet, when different clients apply for same business, be that queued discipline according to first come, first served handles, like this, if the client of front takies the processing resource of a process for a certain reason for a long time, so for the client of back, be very iniquitous, and will waste a large amount of stand-by period, this will cause the performance of the webserver seriously to descend, and this problem has to be solved.
Summary of the invention
At the problems referred to above, the object of the present invention is to provide a kind of webserver, this webserver can prevent from causing server performance seriously to descend because the individualized access client monopolizes process resource for a long time, has improved the visit fluency.
The technical solution adopted for the present invention to solve the technical problems is: this webserver comprises the service port layer, and each port points to the corresponding port layer by turns of miscellaneous service process in the webserver in the described service port layer; The quantity of port by turns in each described port layer by turns is dynamic value, in each business process, access customer of every increase and decrease, the then quantity increase and decrease 1 of the corresponding port by turns of this business process, and each access customer is by different described port access corresponding service processes by turns; Each described port is by turns opened in each business process circulation in turn.
As preferably, each business process circulation is opened in each described port process by turns in turn, rotates port for each, and service time has a higher limit, surpasses this higher limit and namely closes port by turns, then open the next port of rotating; And in the by turns port of opening, the access request executed is finished, also then open next port by turns; Like this, both can avoid time waste, can avoid again the individualized access client the line is busy for a long time.
As preferably, open in turn in each described port process by turns in each business process circulation, not complete for certain access request of rotating in the port, then progress msg is temporary in temporarily providing room; Further, described temporarily providing room is opened up on client hard disk, and this can save the memory space of the webserver.
Beneficial effect of the present invention is: this webserver is when operation, owing to be provided with a port layer by turns, and the circulation of each business process is opened this in turn and is rotated respectively port by turns in the port layer, therefore, occupy certain process resource for some reason for a long time for having eliminated the individualized access client, the problem that causes the access customer of formation back to visit, this makes that not only the service of the webserver is more fair, and, total stand-by period of having saved the all-access client largely.
Description of drawings
Fig. 1 is the schematic diagram of present networks server.
Embodiment
The present invention is further described below in conjunction with drawings and Examples:
Among the embodiment as shown in Figure 1, this webserver comprises service port layer 1, each port points to the corresponding port layer by turns of miscellaneous service process in the webserver in the described service port layer, as, in the present embodiment, n service business of webserver tool, then offer first rotation port layer 21, second port layer 22 by turns, rotate port layer 2n until n, correspond respectively to first process 31, second process 32, until the 3n process; The quantity of port by turns of respectively rotating in the port layer is dynamic value, in each business process, access customer of every increase and decrease, the then quantity increase and decrease 1 of the corresponding port by turns of this business process, and each access customer is by different described port access corresponding service processes by turns; Each described port is by turns opened in each business process circulation in turn.
Open in turn in each described port process by turns in each business process circulation, rotate port for each, service time has a higher limit, surpasses this higher limit and namely closes this port by turns, then open next port by turns; And in the by turns port of opening, the access request executed is finished, also then open next port by turns; Like this, both can avoid time waste, can avoid again the individualized access client the line is busy for a long time.
In addition, open in turn in each described port process by turns in each business process circulation, not complete for certain access request of rotating in the port, then progress msg is temporary in temporarily providing room; Described temporarily providing room can be opened up on client hard disk, and this can save the memory space of the webserver.
The above-mentioned webserver is when operation, owing to be provided with a port layer by turns, and the circulation of each business process is opened this in turn and is rotated respectively port by turns in the port layer, therefore, occupy certain process resource for some reason for a long time for having eliminated the individualized access client, the problem that causes the access customer of formation back to visit, this makes that not only the service of the webserver is more fair, and, total stand-by period of having saved the all-access client largely.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. a webserver comprises the service port layer, it is characterized in that: each port points to the corresponding port layer by turns of miscellaneous service process in the webserver in the described service port layer; The quantity of port by turns in each described port layer by turns is dynamic value, in each business process, access customer of every increase and decrease, the then quantity increase and decrease 1 of the corresponding port by turns of this business process, and each access customer is by different described port access corresponding service processes by turns; Each described port is by turns opened in each business process circulation in turn.
2. the webserver according to claim 1, it is characterized in that: each business process circulation is opened in each described port process by turns in turn, rotate port for each, service time has a higher limit, surpass this higher limit and namely close this port by turns, then open next port by turns; And in the by turns port of opening, the access request executed is finished, also then open next port by turns.
3. the webserver according to claim 1 is characterized in that: opens in turn in each described port process by turns in each business process circulation, and not complete for certain access request of rotating in the port, then progress msg is temporary in temporarily providing room.
4. the webserver according to claim 3, it is characterized in that: described temporarily providing room is opened up on client hard disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102487900A CN103297245A (en) | 2013-06-21 | 2013-06-21 | Network server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102487900A CN103297245A (en) | 2013-06-21 | 2013-06-21 | Network server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103297245A true CN103297245A (en) | 2013-09-11 |
Family
ID=49097602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102487900A Pending CN103297245A (en) | 2013-06-21 | 2013-06-21 | Network server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103297245A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021143172A1 (en) * | 2020-01-17 | 2021-07-22 | 华为技术有限公司 | Port management method and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5249290A (en) * | 1991-02-22 | 1993-09-28 | At&T Bell Laboratories | Method of and apparatus for operating a client/server computer network |
CN101013388A (en) * | 2007-01-26 | 2007-08-08 | 浙江大学 | Heterogeneous multi-core system-oriented process scheduling method |
CN101296130A (en) * | 2008-05-30 | 2008-10-29 | 北京同步科技有限公司 | System and method for multi-process sharing port receiving network message |
CN102337782A (en) * | 2010-07-27 | 2012-02-01 | 北京星河模板脚手架工程有限公司 | Lift system for constructing truss platform on top of tall and large space and construction method for lift system |
CN102436405A (en) * | 2011-09-05 | 2012-05-02 | 北京星网锐捷网络技术有限公司 | Saving method and device as well as tempering detection method and device for process context |
-
2013
- 2013-06-21 CN CN2013102487900A patent/CN103297245A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5249290A (en) * | 1991-02-22 | 1993-09-28 | At&T Bell Laboratories | Method of and apparatus for operating a client/server computer network |
CN101013388A (en) * | 2007-01-26 | 2007-08-08 | 浙江大学 | Heterogeneous multi-core system-oriented process scheduling method |
CN101296130A (en) * | 2008-05-30 | 2008-10-29 | 北京同步科技有限公司 | System and method for multi-process sharing port receiving network message |
CN102337782A (en) * | 2010-07-27 | 2012-02-01 | 北京星河模板脚手架工程有限公司 | Lift system for constructing truss platform on top of tall and large space and construction method for lift system |
CN102436405A (en) * | 2011-09-05 | 2012-05-02 | 北京星网锐捷网络技术有限公司 | Saving method and device as well as tempering detection method and device for process context |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021143172A1 (en) * | 2020-01-17 | 2021-07-22 | 华为技术有限公司 | Port management method and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11863352B2 (en) | Hierarchical networking for nested container clusters | |
US10664169B2 (en) | Performance of object storage system by reconfiguring storage devices based on latency that includes identifying a number of fragments that has a particular storage device as its primary storage device and another number of fragments that has said particular storage device as its replica storage device | |
CN107567696B (en) | Automatic expansion of a group of resource instances within a computing cluster | |
US20190324819A1 (en) | Distributed-system task assignment method and apparatus | |
US10218536B1 (en) | Configuring and managing virtual grids | |
CN106375176B (en) | A kind of method of physical machine access cloud platform | |
EP3028406B1 (en) | Profile-based sla guarantees under workload migration in a distributed cloud | |
US20170257269A1 (en) | Network controller with integrated resource management capability | |
US9065772B2 (en) | Dynamically modifying quality of service levels for resources running in a networked computing environment | |
Etemad et al. | Using DEVS for modeling and simulating a Fog Computing environment | |
CN109845303A (en) | The management method and administrative unit of network slice | |
Zhang et al. | Survey on transport control in data center networks | |
CN102685904A (en) | Bandwidth self-adaptive allocation method and bandwidth self-adaptive allocation system | |
TW201610852A (en) | Applying policies to schedule network bandwidth among virtual machines | |
CN111756791A (en) | Techniques for accelerated function as service network device load balancer | |
CN103152200B (en) | Virtual machine migration method, switch, network management device and network system | |
US20150271018A1 (en) | Dynamically allocating network addresses | |
WO2019024671A1 (en) | Method, device and system for deploying network slice | |
JP2012533129A5 (en) | ||
CN104283959A (en) | Performance-grading-based storage mechanism suitable for cloud platform | |
CN108566412B (en) | Data service method and data service device | |
CN111030932B (en) | Method, device and system for anchoring data message | |
US11252070B2 (en) | Adaptive polling in software-defined networking (SDN) environments | |
CN103297245A (en) | Network server | |
CN113067739A (en) | High-density container network deployment method and system |
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: 20130911 |