1. A computing device-implemented method, comprising:
receiving, by the computing device, available capacity and used capacity associated with a network;
receiving, by the computing device, a connection request from a user device in the network;
receiving, by the computing device, a maximum capacity threshold associated with the network;
calculating, by the computing device, a minimum capacity threshold and a medium capacity threshold, associated with the network, based on the maximum capacity threshold;
determining, by the computing device, whether to admit or deny the connection request based on the available capacity, the used capacity, the minimum capacity threshold, the medium capacity threshold, and the maximum capacity threshold; and
allocating, by the computing device and when the connection request is to be admitted, a particular bit rate, for a particular quality of service (QoS) class, to the connection request based on the available capacity and the used capacity, and based on at least one of the minimum capacity threshold, the medium capacity threshold, or the maximum capacity threshold.
2. The computing device-implemented method of claim 1, further comprising:
determining whether the used capacity is less than or equal to the minimum capacity threshold;
determining whether a maximum bit rate is less than or equal to the available capacity;
admitting the connection request when the used capacity is less than or equal to the minimum capacity threshold and the maximum bit rate is less than or equal to the available capacity; and
allocating the maximum bit rate to the connection request when the used capacity is less than or equal to the minimum capacity threshold and the maximum bit rate is less than or equal to the available capacity.
3. The computing device-implemented method of claim 1, further comprising:
determining whether the used capacity is greater than the minimum capacity threshold and less than or equal to the medium capacity threshold;
determining whether a variable bit rate is less than or equal to the available capacity;
admitting the connection request when:
the used capacity is greater than the minimum capacity threshold and less than or equal to the medium capacity threshold, and
the variable bit rate is less than or equal to the available capacity; and allocating the variable bit rate to the connection request when:
the used capacity is greater than the minimum capacity threshold and less than or equal to the medium capacity threshold, and
the variable bit rate is less than or equal to the available capacity.
4. The computing device-implemented method of claim 1, where the variable bit rate is one of:
a linearly decreasing function,
a logarithmically decreasing function, or
an exponentially decreasing function.
5. The computing device-implemented method of claim 1, further comprising:
determining whether the used capacity is greater than the medium capacity threshold and less than or equal to the maximum capacity threshold;
determining whether a guaranteed bit rate is less than or equal to the available capacity;
admitting the connection request when:
the used capacity is greater than the medium capacity threshold and less than or equal to the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity; and allocating the guaranteed bit rate to the connection request when:
the used capacity is greater than the medium capacity threshold and less than or equal to the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity.
6. The computing device-implemented method of claim 1, further comprising:
determining whether the used capacity is greater than the maximum capacity threshold;
determining whether a guaranteed bit rate is less than or equal to an available capacity of a QoS class lower than the particular QoS class;
admitting the connection request when:
the used capacity is greater than the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity of the lower QoS class; and
allocating the guaranteed bit rate to the connection request when:
the used capacity is greater than the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity of the lower QoS class.
7. The computing device-implemented method of claim 6, further comprising:
denying the connection request when there are no resources available in the network for the lower QoS class.
8. The computing device-implemented method of claim 6, further comprising:
denying the connection request when:
the used capacity is greater than the maximum capacity threshold, and
the guaranteed bit rate is greater than the available capacity of the lower QoS class.
9. The computing device-implemented method of claim 1, where the computing device comprises a policy and charging rule function (PCRF) device.
10. The computing device-implemented method of claim 1, where the connection request includes QoS requirements and method further comprises:
admitting the connection request when the particular QoS class matches the QoS requirements of the connection request.
11. The computing device-implemented method of claim 1, where the determination of whether to admit or deny the connection request is based on availability of resources in the network.
12. The computing device-implemented method of claim 1, where:
the minimum capacity threshold indicates that the used capacity is substantially less than the available capacity,
the medium capacity threshold indicates that the used capacity is less than the available capacity, and
the maximum capacity threshold indicates that the used capacity is almost equal to the available capacity.
13. The computing device-implemented method of claim 1, where the determination of whether to admit or deny the connection request is applied to each QoS class of a plurality of QoS classes associated with the network.
14. A device, comprising:
a memory to store a plurality of instructions; and
a processor to execute instructions in the memory to:
receive available capacity and used capacity associated with a network,
receive a connection request from a user device in the network,
receive a maximum capacity threshold associated with the network,
calculate a minimum capacity threshold and a medium capacity threshold,
associated with the network, based on the maximum capacity threshold,
determine whether to admit or deny the connection request based on the available capacity, the used capacity, the minimum capacity threshold, the medium capacity threshold, and the maximum capacity threshold, and
allocate, when the connection request is to be admitted and based on resource availability associated with the network, a particular bit rate, for a particular quality of service (QoS) class, to the connection request.
15. The device of claim 14, where, when allocating the particular bit rate, the processor is further to execute instructions in the memory to:
allocate the particular bit rate to the connection request based on one or more of the available capacity, the used capacity, the minimum capacity threshold, the medium capacity threshold, or the maximum capacity threshold.
16. The device of claim 14, where the device comprises a policy and charging rule function (PCRF) device.
17. The device of claim 14, where the connection request includes QoS requirements and the processor is further to execute instructions in the memory to:
admit the connection request when the particular QoS class matches the QoS requirements of the connection request.
18. The device of claim 14, where the determination of whether to admit or deny the connection request is applied to each QoS class of a plurality of QoS classes associated with the network.
19. The device of claim 14, where the processor is further to execute instructions in the memory to:
admit the connection request when the used capacity is less than or equal to the minimum capacity threshold and a maximum bit rate is less than or equal to the available capacity, and
allocate the maximum bit rate to the connection request when the used capacity is less than or equal to the minimum capacity threshold and the maximum bit rate is less than or equal to the available capacity.
20. The device of claim 14, where the processor is further to execute instructions in the memory to:
admit the connection request when:
the used capacity is greater than the minimum capacity threshold and less than or equal to the medium capacity threshold, and
a variable bit rate is less than or equal to the available capacity, and allocate the variable bit rate to the connection request when:
the used capacity is greater than the minimum capacity threshold and less than or equal to the medium capacity threshold, and
the variable bit rate is less than or equal to the available capacity.
21. The device of claim 14, where the processor is further to execute instructions in the memory to:
admit the connection request when:
the used capacity is greater than the medium capacity threshold and less than or equal to the maximum capacity threshold, and
a guaranteed bit rate is less than or equal to the available capacity, and allocate the guaranteed bit rate to the connection request when:
the used capacity is greater than the medium capacity threshold and less than or equal to the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity.
22. The device of claim 14, where the processor is further to execute instructions in the memory to:
determine whether a guaranteed bit rate is less than or equal to an available capacity of a QoS class lower than the particular QoS class;
admit the connection request when:
the used capacity is greater than the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity of the lower QoS class, and
allocate the guaranteed bit rate to the connection request when:
the used capacity is greater than the maximum capacity threshold, and
the guaranteed bit rate is less than or equal to the available capacity of the lower QoS class.
23. The device of claim 22, where the processor is further to execute instructions in the memory to:
deny the connection request when there are no resources available in the network for the lower QoS class.
24. The device of claim 22, where the processor is further to execute instructions in the memory to:
deny the connection request when:
the used capacity is greater than the maximum capacity threshold, and
the guaranteed bit rate is greater than the available capacity of the lower QoS class.
25. A device, comprising:
means for receiving available capacity and used capacity associated with a network;
means for receiving a connection request from a user device in the network;
means for receiving a maximum capacity threshold associated with the network;
means for calculating a minimum capacity threshold and a medium capacity threshold, associated with the network, based on the maximum capacity threshold;
means for determining whether to admit or deny the connection request based on the available capacity, the used capacity, the minimum capacity threshold, the medium capacity threshold, and the maximum capacity threshold; and
means for allocating, when the connection request is to be admitted, a particular bit rate, for a particular quality of service (QoS) class, to the connection request based on one or more of the available capacity, the used capacity, the minimum capacity threshold, the medium capacity threshold, or the maximum capacity threshold.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A mounting apparatus for a hard disk drive having two opposite sidewalls and a pin extending out from one of the sidewalls, the mounting apparatus comprising:
a bracket defining a first locating hole; and
a carrier detachably received in the bracket, and comprising:
a shell for receiving the hard disk drive;
a resilient connecting member;
a resilient unlocking member installed on a side of the shell, and comprising an abutting plate; and
an operating assembly comprising a connecting rack mounted to a front end of the shell and a latching member rotatably connected to the connecting rack;
wherein the shell defines an installing hole adjacent to the unlocking member, a front end of the connecting member is mounted to the shell, and a rear end of the connecting member is detachably connected in the first locating hole of the bracket, a rear end of the shell is connected to the bracket, the abutting plate of the unlocking member abuts against the pin received in the installing hole, the carrier is pushed in the bracket, a block protrudes out from a first end of the latching member to latch in the first locating hole, and a second end of the latching member is detachably latched to the connecting rack.
2. The mounting apparatus of claim 1, wherein the bracket comprises a top plate, two opposite side plates extending down from two sides of the top plate, the top plate and the side plates cooperatively bound an installing space for receiving the carrier, the first locating hole is defined in a front end of one of the side plates.
3. The mounting apparatus of claim 1, wherein the shell comprises a supporting plate and a position plate extending in from a top side of the supporting plate, the unlocking member is installed between the supporting plate and the position plate, the installing hole is defined in the position plate.
4. The mounting apparatus of claim 3, wherein the installing hole comprises an access portion extending down from a top of the position plate and a receiving portion extending rearward from a bottom end of the access portion, the abutting plate of the unlocking member defines a position hole aligning with the receiving portion, the pin of the hard disk drive is inserted in the installing hole, the pin slidably abuts against the abutting plate, deforming the abutting plate, until the pin is received in the position hole, the abutting plate is restored to abut against the pin.
5. The mounting apparatus of claim 3, wherein a rear end of the supporting plate defines a second locating hole, the connecting member comprises a resilient connecting plate mounted between the supporting plate and the position plate, and an abutting block protruding out from the connecting plate, the abutting block extends through the second locating hole of the shell, to be detachably latched in the first locating hole of the bracket.
6. The mounting apparatus of claim 5, wherein the supporting plate defines a through hole adjacent to the second locating hole, the connecting member further comprises an operation portion protruding out from the connecting plate and received in the through hole, the operation portion is pressed through the through hole, deforming the connecting plate, the abutting block is detached from the first locating hole of the bracket.
7. The mounting apparatus of claim 6, wherein the abutting block defines a guiding surface opposite to the operation portion.
8. The mounting apparatus of claim 3, wherein the supporting plate defines an operation hole adjacent to the installing hole, the unlocking member further comprises an operation plate slantingly extending from the abutting plate toward the operation hole, the operation plate is pressed through the operation hole, deforming the abutting plate, the abutting plate is detached from the pin.
9. The mounting apparatus of claim 8, wherein a latching pole protrudes from the position plate toward the operation hole, a resilient tongue extends from the unlocking member, a distal end of the tongue defines a mounting hole, the latching pole is latched in the mounting hole of the tongue.
10. An electronic device, comprising:
a chassis;
a hard disk drive comprising a side wall and a pin extending out from the side wall; and
a mounting apparatus comprising:
a bracket mounted in the chassis; and
a carrier slidably received in the bracket, and the carrier comprising:
a shell receiving the hard disk drive;
a resilient connecting member mounted to the shell;
a resilient unlocking member installed on a side of the shell and comprising an abutting plate; and
an operating assembly comprising a connecting rack mounted to a front end of the shell and a latching member rotatably connected to the connecting rack;
wherein the shell defines an installing hole adjacent to the unlocking member for receiving the pin of the hard disk drive, a front end of the bracket defines a first locating hole, a front end of the connecting member is mounted to the shell, and a rear end of the connecting member is detachably latched to the first locating hole, the abutting plate abuts against the pin received in the installing hole, when the shell is received in the bracket; wherein a block protrudes out from a first end of the latching member to latch in the first locating hole, and a second end of the latching member is detachably latched to the connecting rack.
11. The electronic device of claim 10, wherein the bracket comprises a top plate, two opposite side plates extending down from two sides of the top plate, the side plates are mounted in the chassis, the top plate, the side plates, and the chassis cooperatively bound an installing space for receiving the carrier, the first locating hole is defined in a front end of one of the side plates.
12. The electronic device of claim 10, wherein the shell comprises a supporting plate and a position plate extending in from a top side of the supporting plate, the unlocking member is installed between the supporting plate and the position plate, the installing hole is defined in the position plate.
13. The electronic device of claim 12, wherein the installing hole comprises an access portion extending down from a top of the position plate and a receiving portion extending rearward from a bottom end of the access portion, the abutting plate of the unlocking member defines a position hole aligning with the receiving portion, the pin of the hard disk drive is inserted in the receiving portion through the access portion, the pin slidably abuts against the abutting plate, deforming the abutting plate, until the pin is received in the position hole, the abutting plate is restored to abut against the pin.
14. The electronic device of claim 12, wherein a rear end of the supporting plate defines a second locating hole, the connecting member comprises a resilient connecting plate mounted to the supporting plate, and an abutting block protruding out from the connecting plate, the abutting block extends through the second locating hole of the shell, to be detachably latched in the first locating hole of the bracket.
15. The electronic device of claim 14, wherein the supporting plate defines a through hole adjacent to the second locating hole, the connecting member further comprises an operation portion protruding out from the connecting plate and received in the through hole, the operation portion is pressed through the through hole, deforming the connecting plate, the abutting block is detached from the first locating hole of the bracket.
16. The electronic device of claim 15, wherein the abutting block defines a guiding surface opposite to the operation portion.
17. The electronic device of claim 12, wherein the supporting plate defines an operation hole adjacent to the installing hole, the unlocking member further comprises an operation plate slantingly extending from the abutting plate toward the operation hole, the operation plate is pressed through the operation hole, deforming the abutting plate, the abutting plate is detached from the pin.
18. The electronic device of claim 17, wherein a latching pole protrudes from the position plate toward the operation hole, a resilient tongue extends from the unlocking member, a distal end of the tongue defines a mounting hole, the latching pole is latched in the mounting hole of the tongue.
19. The electronic device of claim 11, wherein the chassis comprises a circuit board having a first connector aligning with the installing space, the hard disk drive further comprises a second connector detachably and electrically coupled to the first connector of the circuit board.