CN105808344A - Network equipment with rapid throttling trigger mechanism - Google Patents

Network equipment with rapid throttling trigger mechanism Download PDF

Info

Publication number
CN105808344A
CN105808344A CN201410851888.XA CN201410851888A CN105808344A CN 105808344 A CN105808344 A CN 105808344A CN 201410851888 A CN201410851888 A CN 201410851888A CN 105808344 A CN105808344 A CN 105808344A
Authority
CN
China
Prior art keywords
network equipment
software program
trigger mechanism
program
operating system
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
CN201410851888.XA
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.)
HUANXU ELECTRONICS CO Ltd
Universal Scientific Industrial Co Ltd
Original Assignee
HUANXU ELECTRONICS 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 HUANXU ELECTRONICS CO Ltd filed Critical HUANXU ELECTRONICS CO Ltd
Priority to CN201410851888.XA priority Critical patent/CN105808344A/en
Publication of CN105808344A publication Critical patent/CN105808344A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides network equipment with a rapid throttling trigger mechanism. The network equipment comprises a rapid throttling hardware switch and an operation system, wherein the rapid throttling hardware switch is used for generating a throttling signal according to a manual operation; the operation system has an operation system core and is used for processing at least one software program; the operation system core is used for receiving the throttling signal and reducing the resource usage amount of the software program according to the throttling signal so as to release the resources of the network equipment with the rapid throttling trigger mechanism. In times of need, the users can manually operate the rapid throttling hardware switch to enable the network equipment to vacate the resources and then the users can immediately use the available network or hardware resources.

Description

There is the network equipment of the quick trigger mechanism that throttles
Technical field
The present invention relates to a kind of network equipment, particularly relate to a kind of network equipment with the quick trigger mechanism that throttles.
Background technology
Refer to the schematic diagram using framework that Fig. 1, Fig. 1 are the traditional network equipments.The network equipment such as server 1a, the available wire/wireless router 2 such as Fig. 1 of computer 4 connect to network 3.When user is to when using the network equipment such as server 1a to have demand immediately, because server 1a is busy, such as network traffics occupied or central processing unit (CPU) the resource of address/flow fully loaded, I/O port (I/O) is used up, and allowing user cannot use the resource of server 1a, user is likely to and is difficult by computer 4 and connects server 1a to be controlled operation simultaneously.
In prior art, often can only await one's doom when the network equipment of such as server 1a is in busy.Otherwise it is through computer 4 even limiting server 1a to enter operation interface, thus closes off the program taking resource.But attempt to close these programs and open operation interface can make the matter worse on the contrary, make the delay that the operation network equipment produces slowly more serious, even repeatedly kick into incoming interface all problematic.The means that last user can select that only have power-off boots.
At present existing software is declared to regulate oneself network and I/O port (I/O) are made consumption by Auto-Sensing, but judging efficiency is often not good.Especially, if have several this type software parallel to operate, involve network bandwidth/CPU/IO/ memorizer, when the resource management of software and hardware is complicated simultaneously, plus each software without time attempt detecting regulate resource, endless race condition (racecondition) certainly will be entered.
Summary of the invention
The embodiment of the present invention provides a kind of network equipment with the quick trigger mechanism that throttles, only need one group of hardware switch that fast throttles, by user when needs can this hardware switch of manual operation to allow the network equipment vacate resource, use available network or hardware resource immediately in order to user.
The embodiment of the present invention provides a kind of network equipment with the quick trigger mechanism that throttles, including fast throttling hardware switch and operating system.Quick throttling hardware switch is in order to produce throttle signal according to manual operation.Operating system has operating system core, and operating system processes at least one software program, and operating system core receives throttle signal, and makes consumption according to the resource of throttle signal reduction software program, has the resource of the network equipment of the quick trigger mechanism that throttles with release.
In sum, the embodiment of the present invention provides a kind of network equipment with the quick trigger mechanism that throttles, as long as user clicks the hardware switch that fast throttles of the network equipment, the software program that priority is relatively low can be automatically releasable by device interior, or limit its use to I/O port (I/O) and central processing unit (CPU) calculation resources, user just can be allowed to obtain maximum software and hardware resources within the fastest time.
It is further understood that inventive feature and technology contents for enabling, refers to the detailed description below in connection with the present invention and accompanying drawing, but these illustrate to be intended merely to the explanation present invention with accompanying drawing Figure of description, but not the interest field of the present invention is done any restriction.
Accompanying drawing explanation
Fig. 1 is the schematic diagram using framework of traditional network equipment.
Fig. 2 A is the schematic diagram using framework of the network equipment with the quick trigger mechanism that throttles that the embodiment of the present invention provides.
Fig. 2 B is the functional schematic of the network equipment with the quick trigger mechanism that throttles that the embodiment of the present invention provides.
Fig. 3 is that the quick network equipment throttling trigger mechanism that has that the embodiment of the present invention provides fast throttles the flow chart of trigger mechanism.
Description of reference numerals:
1a: traditional network equipment
2: wire/wireless router
3: network
4: computer
100: there is the network equipment of the quick trigger mechanism that throttles
110: fast throttle hardware switch
120: operating system
121: operating system core
121a: control program
121b: interrupt routine
121c: Program Manager
122: control program behind the scenes
123: software program
S110, S120, S130, S140, S150: steps flow chart
Detailed description of the invention
(there is the embodiment of the network equipment of the quick trigger mechanism that throttles)
Referring to Fig. 2 A and Fig. 2 B, Fig. 2 A is the schematic diagram using framework of the network equipment with the quick trigger mechanism that throttles that the embodiment of the present invention provides, and Fig. 2 B is the functional schematic of the network equipment with the quick trigger mechanism that throttles that the embodiment of the present invention provides.The quick network equipment 100 throttling trigger mechanism that has of the present embodiment is such as the webserver (Server), Network Attached Storage equipment (NAS), IP address (IP) Wireless Router or router (Router) etc., but therefore the present invention does not limit.The quick network equipment throttling trigger mechanism that has of the present embodiment only needs quick throttling hardware switch 110 one group outside, can a touch-control system (onetouch) when needs by user, (such as reduce network traffics, the speed of data process or the data transmission bauds of I/O port to slow down to allow network equipment Quick air go out resource, or vacate the calculation resources etc. of central processing unit (CPU)), the network equipment is used immediately in order to user.The problem that user does not need the resource exhaustion worrying or the network equipment occupied at network bandwidth yet, whether available outside computer 4 controls the network equipment.
Quick throttling hardware switch 110, in order to allow user be operated manually, thus produces the signal of telecommunication of correspondence.When practical application, quick throttling hardware switch 110 can be for example button, slide switch, touch-controlling interface, infrared switch etc., but the present invention does not limit kind and the mode of operation of the quick hardware switch 110 that throttles.
The quick throttling hardware switch 110 of the network equipment 100 (hereinafter referred to as the network equipment 100) with the quick trigger mechanism that throttles is to be installed directly on the network equipment 100, and the throttle signal of the hardware switch 110 that fast throttles is delivered directly to operating system core (OSKernel), such as: the quick throttle signal throttling hardware switch 110 is conveyed directly to perform a pin of operating system central processing unit (or its relevant control integrated circuit), in order to trigger an interrupt signal of operating system core, to perform throttling or to reduce the work of the software and hardware resources used.Owing to the throttle signal produced by hardware switch 110 that fast throttles corresponds to directly produce to interrupt (Interrupt) in operating system core, it is signal operating system to highest priority, the execution of its corresponding instruction can't be subject to the current resource using status of the network equipment 100 and affect, it is possible to reach to obtain immediately the effect of the control of the network equipment 100.Therefore, even if when the software and hardware resources that the network equipment 100 is current is taken by other software programs, the duty of the network equipment 100 can be controlled immediately.Therefore, when the system loading of the network equipment 100 is controlled and is lowered, user can use the network equipment 100 immediately, to carry out the function such as data access, control of network flow quantity.About how the quick throttle signal produced by hardware switch 110 that throttles makes the network equipment 100 carry out the mode with release resource that throttles of network traffics or the transmission of I/O port data, refer to further description below.
As shown in Figure 2 B, the quick network equipment 100 throttling trigger mechanism that has of the present embodiment includes fast throttling hardware switch 110 and operating system 120.Quick throttling hardware switch 100 produces throttle signal in order to the manual operation according to user.Described operating system 120 can be for example linux system, but therefore the present invention does not limit.The hardware performing operating system can include the elements such as central processing unit (or microprocessor (MCU)), memorizer, data storing media (such as hard disk), those skilled in the art, it should be readily apparent that perform content and the design of the related hardware element of operating system, repeat no more.
Operating system has operating system core 121, and operating system 120 processes at least one software program, and described software program can be multiple, and when operating system 120 has multi-functional, the plurality of software program can simultaneously be performed.Operating system core 121 receives the throttle signal from the quick hardware switch 110 that throttles, and makes consumption according to the resource of throttle signal reduction software program, has the resource of the network equipment of the quick trigger mechanism that throttles with release.
Described software program can be generally divided into two classes, what the first corresponded to control program (ControlDaemon) behind the scenes has application programming interfaces (ApplicationProgrammingInterface, API) software program, this kind of software program has been provided that known dynamic operation order, the processing mode of this kind of software program must predefined, and can the control in thinner portion for individual software.It is to say, operating system 120 can pass through application programming interfaces directly to its lower operational order.Such as can pass through " amulecmdcancel<file>", " amulecmddisconnect ", " bt--max_download_rate<speed>" etc. instruction control the software program such as Mule or BT.The second software program is the software program not possessing application programming interfaces (API), for instance Samba, MediaServer, WebServer etc..For this kind of software program, in Linux operating system, may utilize the operation of operating system core or utilize the third party software instruments such as trickle, cpulimit, make consumption reducing resource, such as restriction resource makes consumption, adjusts priority, or closes the relatively low software program of priority to discharge resource.
Referring now to Fig. 2 B, operating system core 121 includes control program 121a (ControlProgram), interrupt routine 121b (InterruptProcess) and Program Manager 121c (ProcessManagement).Interrupt routine 121b is in order to receive the throttle signal from the quick hardware switch 110 that throttles, and produces interrupt signal according to throttle signal.When reality is implemented, for operating system core 121, the driver (Driver) of the quick hardware switch 110 that throttles can register the interrupt signal of correspondence in advance to operating system core 121.In one embodiment, by fast throttling hardware switch 110 and program 121a (ControlProgram) record can be controlled to corresponding table.When fast throttling hardware switch 110 is to trigger throttle signal in user manual operation (such as pressing the button), operating system core 121 receives hardware interrupt requests, and interrupt signal can be sent to control program 121a.
Control program 121a receives interrupt signal to produce control signal, and described control signal makes consumption in order to the resource reducing the software program 123 run at present.Control program 121a can determine to want the Program Manager 121c in the calling operation system core 121 or calling backstage outside operating system core 121 to control program 122 corresponding software program 123 is done throttle operation, and the resource to reduce software program 123 makes consumption.According to the kind of software program 123, software program 123 is likely to be controlled by Program Manager 121c or control program 122 (ControlDaemon) behind the scenes.Control program 122 behind the scenes can control some software program 123 with application programming interfaces (API), for instance the software programs such as Mule or BT.The software program 123 with different application programming interfaces (API) can be carried out Optimization control by control program 122 behind the scenes.Control program 122 behind the scenes controls to control the software program 123 of program 122 corresponding to backstage according to the control signal controlling program 121a, and wherein control signal corresponds to the operational order of software program 123.
On the other hand, Program Manager 121c is also controlled by the control signal of control program 121a, and controls the software program 123 corresponding to Program Manager 121c according to control signal.Program Manager 121c is that software program 123 is controlled by the instruction utilizing operating system core 121, therefore Program Manager 121c can be considered the universal controller in operating system core 121, is not necessary to carry out control software design program 123 by application programming interfaces (API).Program Manager 121c can directly close the resource of software program 123 or restricted software program 123 and make consumption according to control signal.Such as: when operating system 120 is linux system, Program Manager 121c utilizes the resource that software program 123 or restricted software program 123 are closed in Linux instruction to make consumption.
It addition, when user is follow-up need not use fast dam function time, it is possible to set a Preset Time (being such as half an hour) and cancel the function of quick throttling afterwards, to recover the software program of original execution.It is therefore possible to prevent user forgets to restore d/d software and hardware resources, and the software program previously performed can be continued to be performed.That is, when in operating system core 121 after receiving throttle signal and reducing the Preset Time after the resource of software program (software program 123 corresponding to Program Manager 121c or the software program corresponding to control program 122 behind the scenes) makes consumption according to throttle signal, operating system core 121 can recover the resource of software program makes consumption, for instance cancels network (or I/O port) throttling or cancels the calculation resources of release processor.
Additionally, operating system 120 can also be added and be arranged a flow analysis unit (being probably hardware circuit or software program), this flow analysis unit can analyze the relevant parameter of the software program that the network equipment 100 often runs, to weigh when carrying out throttling scheme or resource limit (or release) in the way of management and control software program.Such as: the title that makes according to software journey and select to protect some software program maybe needing to reside specific, important; or according to service condition, each software program is set relative importance value, it is also possible to setting each software program according to relative importance value needs confined use resource.
It is that the quick network equipment throttling trigger mechanism that has that the embodiment of the present invention provides fast throttles the flow chart of trigger mechanism referring to Fig. 2 B and Fig. 3, Fig. 3.First, in step s 110, quick throttling hardware switch 110 produces throttle signal according to the manual operation of user.
Then, in the step s 120, operating system core 121 receives throttle signal with triggered interrupts (by interrupt routine 121b process), and the control program 121a of operating system core 121 determines the software program to control.The control program 121a of operating system core 121 can determine according to the priority of software program, network traffics size or I/O port uninterrupted etc. to reduce the software program using resource.According to the kind of software program, title, through the operational factor etc. of flow analysis gained, described needs are lowered and use the software program of resource to be determined in advance.Reduce and use the amplitude of resource to be set in advance, the designer of the network equipment 100 or manufacturer can be stored in related setting in advance or utilize the analysis result of flow analysis unit dynamically to set, or, user can also be allowed to enter sets itself in operating system, but therefore the present invention does not limit.
Controlled software program can be divided into two classes, respectively has the software program of application programming interfaces (API) and does not have the software program of application programming interfaces.After step S120, carry out step S130 or step S140 according to the software program type to control.For the software program with application programming interfaces, carry out step S130, by application programming interfaces and utilize operational order control corresponding to backstage control program 122 software program.Such as the software program of the types such as aMule or BT, say, that the control program 121a of operating system core 121 can close and control the software program of program 122 corresponding to backstage or the resource of software program that restriction controls program 122 corresponding to backstage makes consumption.For the software program without application programming interfaces, then carrying out step S140, operating system core 121 discharges the resource of software program, restriction resource makes consumption or reduces the execution sequence (or priority) of software program.It is to say, the control program 121a of operating system core 121 controls Program Manager 121c makes consumption to close corresponding to the software program 123 of Program Manager 121c or the resource of restricted software program 123.
After step S130 or step S140 terminates, this network equipment has obtained available resources, now user can carry out the software program or the operation that increase newly, and user can use network immediately or access (such as: hard disk, storage card or flash disk (FlashDrives)) data etc. by the I/O port of the network equipment.
(possible effect of embodiment)
In sum, when the network equipment with the quick trigger mechanism that throttles that user must use the embodiment of the present invention to provide immediately, such as it is eager to open monitor picture, or to enjoy the rare family movie time and disappointing without wishing to the network being fully loaded with, or wish that merely the network emptied on router takies or temporarily has experience smoothly, as long as now user clicks the hardware switch of the network equipment, the software program that priority is relatively low can be automatically releasable by device interior, or limit its use to I/O port (I/O) and central processing unit calculation resources, user just can be allowed to obtain maximum software and hardware resources within the fastest time.
The foregoing is only embodiments of the invention, it is also not used to limit to the scope of the claims of the present invention.

Claims (10)

1. a network equipment with the quick trigger mechanism that throttles, it is characterised in that including:
One fast throttles hardware switch, in order to produce a throttle signal according to a manual operation;And
One operating system, there is an operating system core, described operating system processes at least one software program, described operating system core receives described throttle signal, and reduce the resource of described software program according to described throttle signal and make consumption, to have the resource of the network equipment of the quick trigger mechanism that throttles described in discharging.
2. the network equipment with the quick trigger mechanism that throttles according to claim 1, the resource that wherein said software program uses includes network traffics, the address/flow of I/O port, the utilization rate of central processing unit or memory usage.
3. the network equipment with the quick trigger mechanism that throttles according to claim 1, wherein said operating system core also includes:
One interrupt routine, receives described throttle signal, and produces an interrupt signal according to described throttle signal;And
One controls program, receives described interrupt signal to produce a control signal, and described control signal makes consumption in order to the resource reducing described software program.
4. the network equipment with the quick trigger mechanism that throttles according to claim 3, wherein said operating system core also includes:
One control program behind the scenes, controls the described software program corresponding to described control program behind the scenes according to the described control signal of described control program, and wherein said control signal corresponds to the operational order of the described software program of described control program behind the scenes.
5. the network equipment with the quick trigger mechanism that throttles according to claim 4, wherein the described software program corresponding to described control program behind the scenes has application programming interfaces (API).
6. the network equipment with the quick trigger mechanism that throttles according to claim 3, wherein said operating system core also includes:
One Program Manager, is controlled by the described control signal of described control program, and controls the described software program corresponding to described Program Manager according to described control signal.
7. the network equipment with the quick trigger mechanism that throttles according to claim 6, wherein said Program Manager cuts out described software program according to described control signal or limits the resource of described software program and make consumption.
8. the network equipment with the quick trigger mechanism that throttles according to claim 1, wherein said operating system is linux system, and described Program Manager utilizes Linux instruction cut out described software program or limit the resource of described software program and make consumption.
9. the network equipment with the quick trigger mechanism that throttles according to claim 1, the wherein said network equipment with quick throttling trigger mechanism is the webserver, Network Attached Storage equipment, IP address Wireless Router or router.
10. the network equipment with the quick trigger mechanism that throttles according to claim 1, wherein described operating system core receive described throttle signal and according to described throttle signal reduce described software program resource make consumption after a Preset Time after, described operating system core recover described software program resource makes consumption.
CN201410851888.XA 2014-12-31 2014-12-31 Network equipment with rapid throttling trigger mechanism Pending CN105808344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410851888.XA CN105808344A (en) 2014-12-31 2014-12-31 Network equipment with rapid throttling trigger mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410851888.XA CN105808344A (en) 2014-12-31 2014-12-31 Network equipment with rapid throttling trigger mechanism

Publications (1)

Publication Number Publication Date
CN105808344A true CN105808344A (en) 2016-07-27

Family

ID=56420538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410851888.XA Pending CN105808344A (en) 2014-12-31 2014-12-31 Network equipment with rapid throttling trigger mechanism

Country Status (1)

Country Link
CN (1) CN105808344A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262466A (en) * 1999-02-01 2000-08-09 神基科技股份有限公司 Dynamic control method and system of computer processor
CN101788847A (en) * 2010-02-11 2010-07-28 华硕电脑股份有限公司 Method for adjusting performance of system memory and computer system
CN101799720A (en) * 2009-02-06 2010-08-11 骅讯电子企业股份有限公司 Automatic signal processing execution method and device with automatic execution function
CN101853064A (en) * 2009-03-30 2010-10-06 鸿富锦精密工业(深圳)有限公司 Energy-saving control system
CN102662759A (en) * 2012-03-20 2012-09-12 浪潮电子信息产业股份有限公司 Energy saving method based on CPU (central processing unit) load in cloud OS (operating system)
CN102955559A (en) * 2011-08-24 2013-03-06 宏碁股份有限公司 Energy saving system and energy saving method
CN103034539A (en) * 2011-09-30 2013-04-10 英业达股份有限公司 Server system and power management method thereof
CN103389911A (en) * 2012-05-07 2013-11-13 启碁科技股份有限公司 Method for saving system resources and operating system employing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262466A (en) * 1999-02-01 2000-08-09 神基科技股份有限公司 Dynamic control method and system of computer processor
CN101799720A (en) * 2009-02-06 2010-08-11 骅讯电子企业股份有限公司 Automatic signal processing execution method and device with automatic execution function
CN101853064A (en) * 2009-03-30 2010-10-06 鸿富锦精密工业(深圳)有限公司 Energy-saving control system
CN101788847A (en) * 2010-02-11 2010-07-28 华硕电脑股份有限公司 Method for adjusting performance of system memory and computer system
CN102955559A (en) * 2011-08-24 2013-03-06 宏碁股份有限公司 Energy saving system and energy saving method
CN103034539A (en) * 2011-09-30 2013-04-10 英业达股份有限公司 Server system and power management method thereof
CN102662759A (en) * 2012-03-20 2012-09-12 浪潮电子信息产业股份有限公司 Energy saving method based on CPU (central processing unit) load in cloud OS (operating system)
CN103389911A (en) * 2012-05-07 2013-11-13 启碁科技股份有限公司 Method for saving system resources and operating system employing method

Similar Documents

Publication Publication Date Title
EP3385835B1 (en) Method and apparatus for configuring accelerator
CN110198243B (en) Network access method of virtual machine and related equipment
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
US11204806B2 (en) Systems and methods for user adaptive resource management
CN110149409B (en) Cloud host metadata service management method, system, equipment and storage medium
TW201703485A (en) Methods and systems for orchestrating physical and virtual switches to enforce security boundaries
WO2019228344A1 (en) Resource configuration method and apparatus, and terminal and storage medium
CN107995286B (en) Automatic service starting and stopping method based on dubbo platform, server and storage medium
CN107766145B (en) Memory management method and device under dual systems
EP3637252A1 (en) Virtual machine deployment method and omm virtual machine
WO2017032080A1 (en) Method and device for address book control and mobile terminal
US20160057210A1 (en) Application profile to configure and manage a software defined environment
US20180365081A1 (en) Method for Application Action Synchronization, Terminal Device, and Storage Medium
CN109376015A (en) Solution and system are blocked in log for task scheduling system
US20140289490A1 (en) Extended address volume (eav) allocation verification
US20140297894A1 (en) Universal serial bus (usb) key functioning as multiple usb keys so as to efficiently configure different types of hardware
CN107682389B (en) Method, terminal and computer readable storage medium for executing network request
WO2020097873A1 (en) Floating window control method and related product
CN114500288A (en) Bandwidth adjusting method and device and storage medium
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CA3033830A1 (en) Techniques for implementing universal commands in a welding or cutting system
US8281091B2 (en) Automatic selection of storage volumes in a data storage system
CN115454576B (en) Virtual machine process management method and system and electronic equipment
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
US10656958B2 (en) Method and apparatus for controlling virtual switching

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: 20160727