[go: up one dir, main page]

CN106686069A - Equipment resource providing method and equipment source management device - Google Patents

Equipment resource providing method and equipment source management device Download PDF

Info

Publication number
CN106686069A
CN106686069A CN201611145875.6A CN201611145875A CN106686069A CN 106686069 A CN106686069 A CN 106686069A CN 201611145875 A CN201611145875 A CN 201611145875A CN 106686069 A CN106686069 A CN 106686069A
Authority
CN
China
Prior art keywords
resource
business
equipment
stock number
present application
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
CN201611145875.6A
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.)
Tianjin Zhuzhi Science And Technology Development Co Ltd
Original Assignee
Tianjin Zhuzhi Science And Technology Development 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 Tianjin Zhuzhi Science And Technology Development Co Ltd filed Critical Tianjin Zhuzhi Science And Technology Development Co Ltd
Priority to CN201611145875.6A priority Critical patent/CN106686069A/en
Publication of CN106686069A publication Critical patent/CN106686069A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides an equipment resource providing method and an equipment source management device, and aims at solving the problem that equipment cannot ensure the service quality when realizing services in the prior art. In an embodiment, corresponding configuration information for each service provided by the equipment is stored and comprises resource amount of each resource required by each service provided by the equipment; after the equipment allocates functional resources every time, the resource amount of each resource used by the equipment is recorded; after service application information is received, the resource amount of each resource required by the service applied currently is obtained according to the resource type and corresponding configuration information required by a service applied currently; according to the resource amount of each resource required by the service applied currently and the recorded resource amount of each resource used by the equipment, whether the equipment can provide the service applied currently is determined; if YES, the service applied currently is provided, or otherwise, the service applied currently is not provided.

Description

The method and apparatus resource management apparatus of device resource are provided
Technical field
The present invention relates to equipment resource management technical field, a kind of particularly method equipment money that device resource is provided Source control device
Background technology
In the communications industry, various equipment are provided to provide certain or some functions, such as:Internet Protocol telephone, IPTV etc., and realize these functions is all certain or some special resource circuit plates.
The function of these resource circuit plates generally has one or more, and the resource electricity used when various functions are realized The species of the resource that road plate is provided, quantity are again different, such as:General multi-services device is used as IPTV Operation service in multimedia platform provides the storage and forwarding of media for IPTV, and in general multi-services device MSTU plates are to provide the Main Resources circuit board of these functions again, and MSTU plates can provide various services, such as:Media file is deposited Storage, reading, fluidisation, transcoding etc., and the resource category and quantity that are used when miscellaneous service is realized are differed, such as:It is real Cpu resource, file I/O resource, network interface bandwidth resources are needed during existing storage, realizes needing resource, file I/O resource, net when reading Port band width resource, storage and reading need also exist for file I/O resource, but the stock number required for the business being typically different is again not It is identical.
As shown in figure 1, at present business receiver module can be divided into according to function in the equipment 10 of various offer business 11st, resource management module 12 and resource module 13.Business receiver module 11 is received after business application, whether judges this application It is legal, business application information is sent to resource management module 12 if legal, it is successful that resource management module 12 returns application Information, otherwise returns the information of application failure;
When applying successfully, resource management module 12 tells that resource module 13 specifically needs which resource, resource module 13 External user provides service.
Current resource circuit plate provide resource when, typically with the number for dropping to cost exchange for service of service quality Amount, that is to say, that when business application is received, current resource circuit plate can receive this application and realize corresponding business, When the business application quantity for receiving is more causes business more busy, the service quality of every kind of business will decline.For example, When downloading service is realized, when downloading user and being more, equipment still provides new download service, but now under each user Carry speed relatively low.If requirement of the user to service quality is higher, then current way is difficult to meet its demand.So, In the prior art equipment when business is realized it cannot be guaranteed that its service quality.
The content of the invention
The main object of the present invention is to provide a kind of method and apparatus resource management apparatus of offer device resource, to solve In prior art equipment when business is realized it cannot be guaranteed that the problem of its service quality.
To solve the above problems, the application provides following technical scheme:
A kind of method that device resource is provided, including:
Corresponding configuration information is preserved to each business that equipment is provided, the configuration information includes each industry that equipment is provided The stock number of the every kind of resource needed for business, after each distribution function resource of equipment, the every kind of resource of recording equipment has been used Stock number;
After receiving business application information, the resource category and corresponding configuration information according to needed for the business of present application, Draw the stock number of the every kind of resource needed for the business of present application;
The every kind of resource of the equipment of stock number and record of the every kind of resource according to needed for the business of present application is current The stock number for using judges whether equipment can provide the business of present application, if so, then provides the business of present application, otherwise Refusal provides the business of present application.
A kind of equipment resource management device, including:
Memory module, each business for providing equipment preserves corresponding configuration information, and the configuration information includes setting The stock number of the every kind of resource needed for standby each business for providing;
Logging modle, for after each distribution function resource of equipment, the resource that the every kind of resource of recording equipment has been used Amount;
Analysis module, for when business application information is received, resource category according to needed for the business of present application and Corresponding configuration information, draws the stock number of the every kind of resource needed for the business of present application;
Judge module, the equipment of stock number and record for the every kind of resource according to needed for the business of present application is every The stock number that kind resource has currently been used judges whether equipment can provide the business of present application, if so, then notifies that equipment is carried For the business of present application, otherwise refusal provides the business of present application.
Technical scheme in the embodiment of the present application, because business resource requirement amount is configured with, and to the every kind of money of equipment The stock number that source has used is recorded, and when the resource of the enough present applications of surplus resources is confirmed business is realized, therefore, it is possible to Ensure that the business realized there are enough resources to support, it is ensured that realize the service quality of business.
Description of the drawings
Fig. 1 is the inner function module schematic diagram of the equipment of offer business;
Fig. 2 is the flow chart of processing business application in the embodiment of the present application;
Fig. 3 is the flow chart of the equipment processing business application of Assembling resource circuit board in the embodiment of the present application.
Specific embodiment
In order that equipment ensure that its service quality when business is realized, in the present embodiment, recording equipment is currently The stock number for using, and when there is new business application, decided whether to provide application according to the stock number that equipment has currently been used Business.The method idiographic flow such as Fig. 2, mainly includes the following steps that:
Step 21:Corresponding configuration information is preserved to each business that equipment is provided.Here main contents of configuration information It is the stock number of the every kind of resource needed for each business that equipment is provided.For example, for downloading service, setting is supplied under each The network interface bandwidth numerical value for carrying thread is 2Mbit/S, and the maximal rate of file I/O is 20Mbit/S.This step is preparation, should When completing before reception business application information is started, subsequently into the state of latency services application information.If now equipment Existing resource is used, should the stock number that used of the every kind of resource of recording equipment;If now equipment does not have resource to be used, Should the stock number that used of the every kind of resource of recording equipment be zero.
Step 22:Reception business application information.Business comprising present application in the business application information.
Step 23:The stock number of the every kind of resource needed for the business of analysis present application.
Because having saved configuration information in step dim 21, for the concrete business of present application, being capable of basis The content of the stock number of the every kind of resource needed for each business included in the resource category and configuration information needed for the business is obtained The stock number of the every kind of resource gone out needed for the business of present application.
Step 24:Judge whether equipment can provide the business of present application.If so, step 25 is entered, step is otherwise entered Rapid 26.
Judgement in this step is the resource of the every kind of resource needed for the business based on the present application drawn in step 23 The stock number that amount and the every kind of resource of equipment for recording currently have been used.The concrete form of judgement can judge present application Stock number in the stock number of the every kind of resource needed for business with the presence or absence of at least one resource is total more than this kind of resource of equipment The difference of the stock number that amount and this kind of resource for recording currently have been used.If it is judged that being yes, then judge that equipment can not be carried For the business of present application.
The concrete form of the judgement in this step can also be the money of the every kind of resource needed for the business for judging present application Stock number in the amount of source with the presence or absence of at least one resource can usage amount and this kind of resource for recording more than this kind of resource of equipment The difference of the current stock number for having used.Similarly, if it is judged that being yes, then judge that equipment can not provide present application Business.Here this kind of resource of equipment can usage amount be set in advance, for every kind of resource of equipment, can arrange one can Usage amount accounts for the ratio of this kind of total resources of equipment, the ratio be multiplied by the total amount of this kind of resource be this kind of resource can usage amount.
Step 25:Equipment is made to provide the business of present application.Equipment 10 for example shown in Fig. 1, can be resource thereto Module 13 sends the order of offer business.Subsequently into step 22, business application information is continued to, and into step 27.
Step 26:Refusal provides the business of present application.Equipment 10 for example shown in Fig. 1, can be that thereto business connects Receive the message that module 11 sends refusal offer business.Continue to business application information.Although here refusal provides current Shen Business please, but the surplus resources in equipment may meet other business, therefore business application information can be continued to.
Step 27:The stock number that the every kind of resource of preservation equipment has been used.After new business is performed, the resource quilt of equipment Further take, the stock number for having used changes, so should change and preserve what the every kind of resource of now equipment was used Stock number.The step can be carried out after equipment distribution function resource starts execution business, and according to the reality of device resource Usage amount carries out above-mentioned modification.For example for download thread in configuration information, the resource that equipment is provided includes the network interface of 2Mbit/S Bandwidth, and during actual download due to due to download terminal side that may be present, actually used network interface band is a width of 500Kbit/S, should carry out using for recording equipment bandwidth by the occupied 500Kbit/S of network interface remaining bandwidth in this case Amount.
Can be seen that for every kind of business from the flow process shown in Fig. 2, the prespecified resource that it is distributed, so as to Realize ensure that enough resource allocations to the business in business such that it is able to ensure the service quality of business.Certainly this Plant and be ensured of from for the angle of service side, for example, ensure that the download service that 2Mbit/S is provided to certain terminal unit.It is another Aspect, when causing device resource inadequate when business application is more, by the scheme of the present embodiment, can now refuse new business Shen Please, this is different from prior art and drops to cost so as to " inadequate " way for providing service with service quality.So user can To turn to other equipment as soon as possible, without finding that quality not enough finds again other equipment again during business realizing, have Help save the time of user.
Fig. 2 is the handling process when there is new business application, correspondingly, when the information of business termination is received, should The stock number that the every kind of resource of modification equipment has been used.In order to accomplish correct modification, should make after equipment Resources allocation Corresponding record, specifically, if equipment can provide the business of present application, preserves the business and the industry of present application Corresponding relation between the stock number of the every kind of resource needed for business, so, when the information of business termination is received, according to this right The stock number for determining the every kind of resource needed for the business specified of the information should be related to, then according to needed for the business that the information is specified Every kind of resource stock number modification record the stock number that currently used of the every kind of resource of equipment, that is, from the every kind of money of equipment The stock number of the every kind of resource needed for the business that the information is specified is reduced in the stock number that source has currently used.
If in order to avoid the stock number that currently used of the every kind of resource of equipment of record were not inconsistent with actually used amount, could be with The comparison that the two is carried out periodically or non-periodically, when finding that the two can take the every kind of resource of equipment of modification record when inconsistent The current stock number for having used, send the measures such as prompting message, print log.
Below by taking the resource circuit plate commonly used in the communications industry as an example, the technical scheme in the present embodiment is made furtherly It is bright.
Equipment generally comprises multiple resource circuit plates, is distinguish between with " resource circuit plate number ".Money on resource circuit plate Source can be divided into two classes, and a class is for realizing media handling passage, for example, to realize primary network telephone service, now in equipment This business is physically generally realized by the circuit of a specific function, for a plurality of media handling passage is realized, is then made Realized with multiple such circuits, below this kind of resource is referred to as into " circuit resource ".Another kind of is other resources, is mainly included Cpu resource, file I/0 resources, network interface transfer resource etc., hereinafter referred to as " inverter circuit resource ".The technical scheme master of the present embodiment The distribution that be directed to inverter circuit resource makes improvements.In the prior art due to the physical characteristics of circuit resource, work as resource circuit After all circuits are occupied on plate, equally refuse new business application, and the service quality that the circuit for having taken is provided mainly by Circuit nature is determined.
Corresponding relation between the stock number of the every kind of resource needed for business and the business is stored in the category of the business shown in table 1 Property table in, " type of service " be circuit resource support business such as VOIP business and inverter circuit resource support business for example Downloading service." resource type " such as circuit resource NOR circuit such as VOIP circuit resources, cpu resource, network interface bandwidth resources money Source, the information content of each list item is the business and the resource needed for the business for pre-setting.For some resources such as CPU Resource cannot be preset, thus be given in table 1 be being capable of default resource, for example, the network interface band of each downloading service distribution It is wide.
Table 1
Sequence number Type of service Using resource type and stock number
1 Type of service 1 VOIP passages, 1 passage
2 Type of service 2 I/0,5Mbit/S;Net, 2Mbit/S
3 Type of service 3 ……
4 …… ……
If resource circuit plate realizes business with circuit resource, each business one circuit of correspondence, by the letter of the business Networking telephone VOIP business of the breath record in the circuit table shown in table 2, such as in table shown in the list item of serial number 1.Circuit table In each circuit one list item of correspondence, such as circuit board 1 includes 10 circuits, then should have 10 list items correspond respectively to this 10 Individual circuit.Then can be virtually a circuit by the business when resource circuit plate realizes business with inverter circuit resource, such as one Item downloading service, need to use cpu resource, file I/O resource and network interface transfer resource, then the usage amount record of these resources is same Sample in a list item of circuit table, such as the content in table shown in the list item of serial number 5.As a result of the side of virtual circuit Formula, thus the list item number in circuit table can be more than resource circuit plate on side circuit resource circuit number and can be continuous Increase, additional these circuits are virtual circuit;And for each list item, it may be possible to record the information of side circuit, Possibly record the information of virtual circuit.The content of the table is generated in Resources allocation, needed for containing business and the business Corresponding relation between the stock number of every kind of resource.
Table 2
For inverter circuit resource, recorded using the RCT shown in table 3." resource circuit plate number " is needs The resource circuit plate number of resource management system management;" resource type " is every inverter circuit resource;" resource maximum " is this kind of The maximum capacity that resource type is supported;" can use ratio " distributes to the ratio that business is used for resource circuit plate;" using " The amount of this resource used for equipment this moment, can be according to actually used amount real time modifying in process of service execution.
Table 3
Sequence number Resource circuit plate number Resource type Resource maximum Can use ratio Use
1 Circuit board 1 Resource 1
2 Circuit board 1 Resource 2
3 Circuit board 1 Resource 3
4 ……
5 Circuit board 2 Resource 1
6 Circuit board 2 Resource 2
7 Circuit board 2 Resource 3
8 ……
With reference to table 1- tables 3, the detailed process of resource bid is as shown in figure 3, mainly comprise the steps:
Step 301:Reception business application.
Step 302:Judge whether this equipment supports this kind of type of service.The business included in information according to business application The type queries types of service whether in " service attribute table ", if it is, into step 303, otherwise into step 311.
Step 303:Judged whether to need inverter circuit resource according to type of service, if it is, into step 305, otherwise entering Enter step 304.
Step 304:Determine whether enough circuit resources.In this step, whether also available free reality is searched in circuit table Border circuit.If so, step 308 is entered, otherwise into step 311.
Step 305:Determine whether enough inverter circuit resources.In this step, RCT is searched, by resource circuit The order of plate number finds the resource circuit plate that the surplus resources of each resource are both greater than the business resource requirement of present application.Currently The business resource requirement of application can be checked in from service attribute table, and the surplus resources of resource circuit plate each resource can basis Resource maximum in RCT be multiplied by can use ratio deduct usage amount again and draw.If can find and meet condition Resource circuit plate, then into step 306, otherwise into step 311.
Step 306:The list item of a virtual circuit is generated in circuit table and its content is filled in.
Step 307:Modification RCT.Concrete modification wherein " uses " hurdle.
Step 308:Fill in the content of an idle side circuit list item in circuit table.Have substantial list item then can not Filled in again.
Step 309:Record the circuit number and resource circuit in the list item of the circuit table filled in this business application process Plate number.
Step 310:The successful response message of transmission business application.Include in the information and filled in this business application process Circuit table list item in circuit number and resource circuit plate number.Step 301 is then back to, business application is continued to.
Step 311:The response message of transmission business application failure.Step 301 is then back to, business application is continued to.
Step 402:Decision circuitry whether there is.In the information for specifically being terminated according to business for realizing the business The resource circuit plate number and corresponding circuit number inquiry in " circuit table " that resource is located, if circuit is present in of circuit table In list item, then into step 403, otherwise into step 407.
Step 401:The information that reception business terminates.
Step 402:Decision circuitry whether there is.In the information for specifically being terminated according to business for realizing the business The resource circuit plate number and corresponding circuit number inquiry in " circuit table " that resource is located, if circuit is present in of circuit table In list item, then into step 403, otherwise into step 407.
Step 403:Judge whether the list item inquired in step 402 is occupancy.It is if the list item is filled with content Take, or " taking " is marked in the table entry after fill substance, then the list item can be confirmed to take according to the mark.If It is, into step 404, otherwise into step 407.
Step 404:Modification RCT.Specifically according to the content of the list item inquired in step 402, resource is changed " using " one hurdle in control table, deducts the quantity of this resource that current business is used in use value.
Step 405:Content in the list item inquired in delete step 402.
Step 406:Send resource and discharge successful message.Step 401 is then back to, the letter of business termination is continued to Breath.
Step 407:Send the message of resource release failure.Step 401 is then back to, the letter of business termination is continued to Breath.
Resource checksum can be carried out regularly, mainly including step:
Step 51:Resource checksum timer expiry, initiates resource checksum.
Step 52:Whether judgement is verified this moment legal, if so, into step 53, otherwise into step 56.
Step 53:It is total according to the use of the various resources of the circuit counting on every block of resource circuit plate this block resource circuit plate Amount.
Step 54:The various moneys recorded in the usage amount and RCT of the various resources calculated in comparison step 53 Whether the usage amount in source is identical, if so, into step 56, otherwise into step 55.
Step 55:Modification RCT.Specifically find out what in the comparison in step 54 two kinds of usage amounts were differed Resource type, then resets inconsistent in RCT according to the usage amount of the various resources calculated in step 53 The value of resource usage amount.In addition in this step can with print log, alarm is sent, manually to be intervened.
Step 56:Intervalometer is set.Step 51 is then back to, new round resource timing verification is carried out.
Based on said method, equipment resource management device 60 include memory module 61, logging modle 62, analysis module 63 with And judge module 64, wherein:
Memory module 61, each business for providing equipment preserves corresponding configuration information, and the configuration information includes The stock number of the every kind of resource needed for each business that equipment is provided, memory module 61 can adopt the service attribute shown in table 1 The form of table is stored;
Logging modle 62, for after each distribution function resource of equipment, the money that the every kind of resource of recording equipment has been used Source is measured, and can be recorded in the form of the circuit table shown in table 2;
Analysis module 63, for the resource category when business application information is received, according to needed for the business of present application With corresponding configuration information, the stock number of the every kind of resource needed for the business of present application is drawn;
Judge module 64, for the stock number and the equipment of record of the every kind of resource according to needed for the business of present application The stock number that every kind of resource has currently been used judges whether equipment can provide the business of present application, if so, then notifies equipment The business of present application is provided, otherwise refusal provides the business of present application.Specifically can be sentenced with reference to the content in table 3 It is disconnected.
The structure of judge module 64 can include judging unit and transmitting element, wherein judging unit, for judging to work as With the presence or absence of stock number being somebody's turn to do more than equipment of at least one resource in the stock number of the every kind of resource needed for the business of front application The difference of the stock number that this kind of resource of kind total resources and record has currently been used;Transmitting element, if for the industry of present application There is this kind total resources and note of the stock number more than equipment of at least one resource in the stock number of the every kind of resource needed for business The difference of the stock number that this kind of resource of record has currently been used, then send the message that refusal provides the business of present application;Otherwise send out Go out the message that requirement equipment provides the business of present application.
Above-mentioned judging unit can be used in the stock number for judge the every kind of resource needed for the business of the present application Can usage amount and this kind of resource for recording more than this kind of resource of default equipment with the presence or absence of the stock number of at least one resource The difference of the current stock number for having used;In this case, if above-mentioned transmitting element is used for needed for the business of present application Every kind of resource
Equipment resource management device 60 can further include the second logging modle, if can provide for the equipment The business of present application, then preserve between the stock number of the every kind of resource needed for the business and the business of the present application Corresponding relation;And analysis module 63 is further used for when the information of business termination is received, and is determined according to the corresponding relation The stock number of the every kind of resource needed for the business that the information is specified, logging modle 62 is further used for the information terminated according to business The stock number that the every kind of resource of equipment of the stock number modification record of the every kind of resource needed for the business specified currently has been used.
Equipment resource management device 60 can further include correction verification module, for confirming the every kind of resource of equipment of record Whether the current stock number for having used is consistent with the equipment stock number that actually every kind of resource has been used;So, logging modle 62 It is further used for stock number and the equipment money that actually every kind of resource has been used currently used when the every kind of resource of equipment of record When source amount is inconsistent, preserve current according to the every kind of resource of equipment of the equipment stock number that actually every kind of resource has been used modification The stock number for using.
Technical scheme in the embodiment of the present application, because business resource requirement amount is configured with, and to the every kind of money of equipment The stock number that source has used is recorded, and when the resource of the enough present applications of surplus resources is confirmed business is realized, therefore, it is possible to Ensure that the business realized there are enough resources to support, it is ensured that realize the service quality of business.And complete it in business The resource of timely release busy and now device resource usage amount is recorded afterwards, make the device resource of record usage amount and reality It is consistent, and the content to recording is compared with the practical situation of equipment, and the mistake being likely to occur in record is processed in time, enters one Step improves the accuracy of equipment resource management.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (9)

1. it is a kind of provide device resource method, it is characterised in that include:
Corresponding configuration information is preserved to each business that equipment is provided, the configuration information includes each business institute that equipment is provided The stock number of the every kind of resource for needing, after each distribution function resource of equipment, the resource that the every kind of resource of recording equipment has been used Amount;
After receiving business application information, the resource category and corresponding configuration information according to needed for the business of present application draws The stock number of the every kind of resource needed for the business of present application;
The every kind of resource of the equipment of stock number and record of the every kind of resource according to needed for the business of present application has currently been used Stock number judge whether equipment can provide the business of present application, if so, then provide present application business, otherwise refuse The business of present application is provided.
2. method according to claim 1, it is characterised in that described to judge the industry whether equipment provide present application Business includes:
Judge in the stock number of the every kind of resource needed for the business of the present application with the presence or absence of the resource of at least one resource Difference of the amount more than the stock number that this kind of total resources of equipment and this kind of resource of record have currently been used;
Or judge in the stock number of the every kind of resource needed for the business of the present application with the presence or absence of at least one resource Stock number can the difference of stock number that currently used with this kind of resource for recording of usage amount more than this kind of resource of default equipment.
3. method according to claim 1 and 2, it is characterised in that further include after the judgement:If the equipment The business of present application can be provided, then preserve the business of the present application and the stock number of the every kind of resource needed for the business Between corresponding relation;
And methods described is further included:
When the information of business termination is received, the every kind of resource according to needed for the corresponding relation determines the business that the information is specified Stock number, then the every kind of resource according to needed for the business that the information is specified stock number modification record the every kind of resource of equipment The current stock number for having used.
4. method according to claim 1 and 2, it is characterised in that the resource that the every kind of resource of the recording equipment has been used Further include after amount:
When the stock number that currently used of the every kind of resource of equipment and the equipment resource that actually every kind of resource has been used that confirm record When measuring inconsistent, stock number and/or send prompting message that the every kind of resource of equipment that modification is recorded currently has been used.
5. a kind of equipment resource management device, it is characterised in that include:
Memory module, each business for providing equipment preserves corresponding configuration information, and the configuration information is carried including equipment For each business needed for every kind of resource stock number;
Logging modle, for after each distribution function resource of equipment, the stock number that the every kind of resource of recording equipment has been used;
Analysis module, for when business application information is received, resource category according to needed for the business of present application and corresponding Configuration information, draw the stock number of the every kind of resource needed for the business of present application;
Judge module, for the every kind of money of the equipment of stock number and record of the every kind of resource according to needed for the business of present application The stock number that source has currently used judges whether equipment can provide the business of present application, if so, then notifies that equipment is provided and works as The business of front application, otherwise refusal provide the business of present application.
6. device according to claim 5, it is characterised in that the judge module includes:
Judging unit, for whether there is at least one in the stock number of the every kind of resource needed for the business for judging the present application Plant the difference of the stock number more than the stock number that this kind of total resources of equipment and this kind of resource of record have currently been used of resource;
Transmitting element, if there is the money of at least one resource in the stock number of the every kind of resource needed for for the business of present application Source amount then sends refusal and carries more than the difference of the stock number that this kind of total resources of equipment and this kind of resource of record have currently been used For the message of the business of present application;Otherwise send the message that the equipment that requires provides the business of present application.
7. device according to claim 5, it is characterised in that the judge module includes:
Judging unit, for whether there is at least one in the stock number of the every kind of resource needed for the business for judging the present application The stock number of kind of resource can the money that currently used with this kind of resource of record of usage amount more than this kind of resource of default equipment The difference of source amount;
Transmitting element, if for there is at least one resource in the stock number of the every kind of resource needed for the business of the present application Stock number more than default equipment this kind of resource can usage amount and record the stock number that currently used of this kind of resource it Difference, then send the message that refusal provides the business of present application;Otherwise send the equipment that requires the business of present application is provided and disappear Breath.
8. the device according to claim 5,6 or 7, it is characterised in that the second logging modle is further included, if for institute The equipment of stating can provide the business of present application, then preserve the business and the every kind of resource needed for the business of the present application Corresponding relation between stock number;And
The analysis module is further used for when the information of business termination is received, and determines that the information refers to according to the corresponding relation The stock number of the every kind of resource needed for fixed business,
The logging modle is further used for the stock number of the every kind of resource according to needed for the business that the information that business terminates is specified The stock number that the every kind of resource of equipment of modification record has currently been used.
9. the device according to claim 5,6 or 7, it is characterised in that further include correction verification module, for confirming record The stock number that currently used of the every kind of resource of equipment whether be consistent with the equipment stock number that actually every kind of resource has been used;
The stock number that the logging modle is further used for currently having been used when the every kind of resource of equipment of record is actual with equipment every When stock number that kind of resource has been used is inconsistent, setting according to the modification of the equipment stock number that actually every kind of resource has been used is preserved The stock number that standby every kind of resource has currently been used.
CN201611145875.6A 2016-12-13 2016-12-13 Equipment resource providing method and equipment source management device Pending CN106686069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611145875.6A CN106686069A (en) 2016-12-13 2016-12-13 Equipment resource providing method and equipment source management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611145875.6A CN106686069A (en) 2016-12-13 2016-12-13 Equipment resource providing method and equipment source management device

Publications (1)

Publication Number Publication Date
CN106686069A true CN106686069A (en) 2017-05-17

Family

ID=58869493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611145875.6A Pending CN106686069A (en) 2016-12-13 2016-12-13 Equipment resource providing method and equipment source management device

Country Status (1)

Country Link
CN (1) CN106686069A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995863A (en) * 2019-03-29 2019-07-09 北京金山安全软件有限公司 Dynamic resource downloading method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859250A (en) * 2006-01-20 2006-11-08 华为技术有限公司 Resource managing device, cut-in system and method for securing multiple service quality
CN101557345A (en) * 2009-05-07 2009-10-14 中兴通讯股份有限公司 Method for providing equipment resource and equipment resource management device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859250A (en) * 2006-01-20 2006-11-08 华为技术有限公司 Resource managing device, cut-in system and method for securing multiple service quality
CN101160805A (en) * 2006-01-20 2008-04-09 华为技术有限公司 Resource management equipment, access system and method for guaranteeing multi-service quality
CN101557345A (en) * 2009-05-07 2009-10-14 中兴通讯股份有限公司 Method for providing equipment resource and equipment resource management device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995863A (en) * 2019-03-29 2019-07-09 北京金山安全软件有限公司 Dynamic resource downloading method and device, electronic equipment and storage medium
CN109995863B (en) * 2019-03-29 2022-04-22 北京金山安全软件有限公司 Dynamic resource downloading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101557345A (en) Method for providing equipment resource and equipment resource management device
CN106843755B (en) Data balancing method and device for server cluster
CN101420367B (en) P2P flow control system and method
CN103475682B (en) File transfer method and file transfer equipment
CN105188151B (en) A kind of non-orthogonal multiple accidental access method, apparatus and system
CN103036926B (en) Business push system and method
CN107105050B (en) Storage and downloading method and system for service objects
CN105847139A (en) Data transmission method, apparatus and system
CN102025630A (en) Load balancing method and load balancing system
CN110874232A (en) Virtual machine component upgrading method, equipment and computer readable storage medium
CN107832357A (en) It is a kind of that part code distributing method and its system are posted based on express delivery cabinet
CN110012050A (en) Message Processing, storage method, apparatus and system
CN108881043A (en) Distribution method, device, equipment and the storage medium of portfolio in shared set meal
CN113050978B (en) Gray release control method, device and equipment for application and computer storage medium
CN101594642B (en) Resource allocation method and resource allocation device used for communication network element device
CN105763616B (en) Resource downloading method and device
CN106610967A (en) Method and apparatus for reading and writing video data in NAS device
CN106686069A (en) Equipment resource providing method and equipment source management device
CN111459654B (en) Method, device, equipment and storage medium for deploying server cluster
CN104850431B (en) Stabilized treatment method and apparatus based on FOTA upgrading
CN112866985B (en) Flow control method, resource downloading method, device, equipment and storage medium
CN107621928B (en) Data output method and related equipment
CN101022425A (en) ISCSI-based storage resource distributing method
CN1323516C (en) Repeating controlling method for customer message
CN102802145A (en) Network service billing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170517

WD01 Invention patent application deemed withdrawn after publication