CN106130757A - Information getting method and device - Google Patents

Information getting method and device Download PDF

Info

Publication number
CN106130757A
CN106130757A CN201610425807.9A CN201610425807A CN106130757A CN 106130757 A CN106130757 A CN 106130757A CN 201610425807 A CN201610425807 A CN 201610425807A CN 106130757 A CN106130757 A CN 106130757A
Authority
CN
China
Prior art keywords
platform
resource
cost sharing
servers
product
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.)
Granted
Application number
CN201610425807.9A
Other languages
Chinese (zh)
Other versions
CN106130757B (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610425807.9A priority Critical patent/CN106130757B/en
Publication of CN106130757A publication Critical patent/CN106130757A/en
Application granted granted Critical
Publication of CN106130757B publication Critical patent/CN106130757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Abstract

This application discloses information getting method and device.One detailed description of the invention of the method includes: the consumption of the resource added up in multiple platform in each platform running;Based on consumption and preset ratio, calculate the actual consumption amount of the resource of each platform in multiple platform respectively.The operating cost achieving the platform by providing service to other platforms shares the platform of request service, thus calculates the actual consumption amount of the resource of each platform, improves the accuracy of cost accounting, further ensures that reasonably Resources allocation.

Description

Information getting method and device
Technical field
The application relates to internet arena, is specifically related to infrastructure technologies field, particularly relate to information getting method and Device.
Background technology
Fast development along with Internet technology, it is provided that more and more abundanter to the service of user.Mistake at operating service Cheng Zhong, the operating cost being required for each service is adjusted, with effective Resources allocation.At present, the one-tenth generally used This accounting mode is: number of servers that each department statistical fractals the most independently takies, connection line, bandwidth Deng cost.
But, when using aforesaid way to carry out operating cost accounting, only account for the resource that service itself is consumed, and The resource of other platforms that the service of not accounting for is consumed, causes the actual consumption that cannot calculate the resource of service exactly Amount.
Summary of the invention
This application provides information getting method and device, the technology existed for solving above-mentioned background section is asked Topic.
First aspect, this application provides information getting method, and the method includes: add up each platform in multiple platform The consumption of the resource in running, multiple platforms include: public resource platform, content distribution platform, shared resource platform, Wherein, public resource platform provides common data to access service, content distribution platform for other platforms in multiple platforms There is provided content distribution service for other platforms in multiple platforms, share resource platform for the part in other platforms Platform provides shares data access service;Based on consumption and preset ratio, calculate each platform in multiple platform respectively The actual consumption amount of resource, preset ratio instruction request common data accesses service, content distribution service, shares data access clothes The consumption of the platform request service of business and the resource of the caused platform providing service accesses with all request common datas Service, content distribution service, share the platform request service of data access service and the resource of the platform that service is provided that causes The ratio of consumption sum.
Second aspect, this application provides information acquisition device, and this device includes: statistic unit, is configured to add up many The consumption of the resource in each platform running in individual platform, multiple platforms include: public resource platform, content distribution Platform, shared resource platform, wherein, public resource platform provides common data to access for other platforms in multiple platforms Service, content distribution platform provides content distribution service for other platforms in multiple platforms, and shared resource platform is used for Partial flats in other platforms provides shares data access service;Computing unit, is configured to based on consumption and presets Ratio, calculates the actual consumption amount of the resource of each platform in multiple platform, preset ratio instruction request common data respectively The service of access, content distribution service, share the platform request service of data access service and caused provide the platform serviced Consumption and all request common datas of resource access service, content distribution service, the platform of shared data access service The ratio of the consumption sum of the resource of the platform that service is provided that request services and causes.
The information getting method of the application offer and device, by each platform running in the multiple platforms of statistics The consumption of resource;Based on consumption and preset ratio, calculate the reality of the resource of each platform in multiple platform respectively Consumption.Achieve and the operating cost of the platform to the offer service of other platforms is shared the platform that request services, thus core Calculate the actual consumption amount of the resource of each platform, improve the accuracy of cost accounting, further ensure that and reasonably distribute Resource.
Accompanying drawing explanation
By the detailed description that non-limiting example is made made with reference to the following drawings of reading, other of the application Feature, purpose and advantage will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 shows the flow chart of an embodiment of the information getting method according to the application;
Fig. 3 shows an exemplary architecture figure of the cost sharing be applicable to the application;
Fig. 4 shows an effect schematic diagram of the cost sharing in the application;
Fig. 5 shows the structural representation of an embodiment of the information acquisition device according to the application;
Fig. 6 shows the structural representation of the computer system being suitable to the information acquisition device for realizing the embodiment of the present application Figure.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to this invention.It also should be noted that, in order to It is easy to describe, accompanying drawing illustrate only the part relevant to about invention.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination mutually.Describe the application below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 shows the exemplary system architecture of the embodiment that can apply the information getting method of the application or device 100。
As it is shown in figure 1, system architecture 100 can include platform cost accounting platform 101, platform 102, network 103, platform 102 can be multiple, such as public resource platform, content distribution platform.Network 103 is in order in cost accounting platform 101 peace The medium of transmission link is provided between platform 102.
Cost accounting platform 101 can run on server cluster, and cost accounting platform 101 can be with receiving platform 102 The consumption of the resources such as the number of servers of platform 102 uploaded, number of, lines, the network bandwidth.Cost accounting platform 101 is permissible The consumption of the resources such as the statistics number of servers of platform 102, number of, lines, the network bandwidth, enters the operating cost of platform 102 Row is adjusted.
Refer to Fig. 2, it illustrates the flow process 200 of an embodiment of the information getting method according to the application.The party Method comprises the following steps:
Step 201, the consumption of the resource added up in multiple platform in each platform running.
In the present embodiment, multiple platforms include: public resource platform, content distribution platform, shared resource platform, its In, public resource platform provides common data to access service for other platforms in multiple platforms, and content distribution platform is used There is provided content distribution service in other platforms in multiple platforms, share resource platform and put down for the part in other platforms Platform provides shares data access service.
In the present embodiment, public resource platform is that storage common data is for other platform access in multiple platforms Platform, shared resource platform is that storage shares data for the platform of part platform access in other platforms, first resource consumption Parameter indicates the hardware resource and/or Internet resources consumed when being accessed.
In the present embodiment, platform can comprise the hardware structure of this service of service and support.Such as, search platform is permissible Comprise the hardware structure of search service and support search service.In the present embodiment, public resource platform is storage common data Platform for other platform access in multiple platforms.Share resource platform for storage share data for other platforms in the middle part of Divide the platform of platform access.
Explanation the application calculates the reason of the actual consumption amount of the resource of each platform below: run at multiple platforms During, need at interval of preset time period, the operating cost of each platform to be adjusted, thus adjust in time and distribute to The resource of each platform.But in multiple platforms, the money that public resource platform, content distribution platform, shared resource platform consume Actually the providing service for other platforms of source and consume, and in the actual consumption amount of the resource calculating each platform Time, this part of amount of calculation is not counted.
Therefore, in the present embodiment, need public resource platform, content distribution platform, share what resource platform consumed The Resource Calculation actually consumed for the offer service of other platforms of resource is at the actual consumption of the resource of each platform Among amount, this process can be referred to as cost sharing.Thus get after cost sharing, the reality of the resource of each platform Border consumption.
Refer to Fig. 3, it illustrates an exemplary architecture figure of the cost sharing being applicable to the application.
In fig. 3 it is shown that TCO (Total Cost of Ownership, cost accounting) system, RMS (Resource Managemengt System, resource management system), NOAH system, PDB (Product Data Base, product database) be System.TCO system may be used for statistics and analyzes operating facilities cost, resource, efficiency, and rmc system may be used for infrastructure money Producing the O&M operation of management and Life cycle, NOAH system can be the merits such as integrated upper wire management, machine handing, monitoring alarm The operation management platform of energy.PDB system may be used for being managed collectively products-tree structure and measuring and calculating product puts into.
In the present embodiment, platform can be referred to as product.Such as, it is provided that the website of Video service can be referred to as one Individual video website product.In the present embodiment, according to the type of the service provided, product can be classified.Tree can be utilized Incidence relation between graphic data representation product, this tree form data structure can be referred to as products-tree, it is possible to referred to as PDB Products-tree.
In the present embodiment, when carrying out cost sharing, in advance product can be classified, belong to same type of product Product may be constructed product line.
In the present embodiment, when carrying out cost sharing, rmc system can read PDB products-tree, RMS from PDB system System keeps Tong Bu with PDB system.NOAH system can read PDB products-tree from rmc system.NOAH system maintenance PDB product Tree and the corresponding relation of product line.Rmc system synchronizes this corresponding relation.Rmc system can by PDB products-tree, PDB products-tree with The information such as the resource that the corresponding relation of product line, product consume export to TCO system.
In some optional implementations of the present embodiment, resource includes: server, connection line, server rack, The network bandwidth.
In the present embodiment, when carrying out cost sharing, allocated cost can include but not limited to: server resource, Server depreciation, network equipment depreciation, wiring depreciation, server rack cost, network bandwidth cost.
In some optional implementations of the present embodiment, shared resource platform includes: provide infrastructure services Base platform.
In the present embodiment, shared resource platform can be the base platform providing infrastructure services, such as empty Planization platform, operation platform.
Step 202, based on consumption and preset ratio, calculates the reality of the resource of each platform in multiple platform respectively Consumption.
In the present embodiment, preset ratio instruction request common data accesses service, content distribution service, shares data visit Ask the platform request service of service and the consumption of the resource of the caused platform that service is provided and all request common datas The service of access, content distribution service, share the platform request service of data access service and platform that providing of causing services The ratio of the total flow of resource.
In the present embodiment, when carrying out cost sharing, for the cost of public resource platform, can be according to the clothes of platform Business device quantity carries out cost sharing with the ratio of the total quantity of server.For the cost of content distribution platform, can be according in advance If content distribution cost sharing ratio carries out cost sharing.For the cost of shared resource platform, money can be shared according to presetting Cost sharing ratio in source carries out cost sharing.
In some optional implementations of the present embodiment, resource is server;And based on consumption and default ratio Example, the actual consumption amount calculating the resource of each platform in multiple platform respectively includes: calculate a cost sharing of platform Parameter, a cost sharing parameter is the first cost sharing quantity and the second cost sharing quantity sum, the first cost sharing number The number of servers that amount is platform is except the service of platform in addition to public resource platform and content distribution platform in multiple platforms After the summation of device quantity long-pending with the number of servers of public resource platform, the second cost sharing quantity is corresponding the presetting of platform Content distribution cost sharing ratio is long-pending with the number of servers of content distribution platform;Calculate the secondary cost sharing ginseng of platform Number, secondary cost sharing parameter is a cost sharing parameter and the 3rd cost sharing quantity sum, the 3rd cost sharing quantity Resources costs amortization ratio is shared long-pending with the number of servers of shared resource platform for corresponding the presetting of platform;Calculate platform Three cost sharing parameters, three cost sharing parameters are secondary cost sharing parameter and the 4th cost sharing quantity and the fifty percentth Originally share quantity sum, the 4th cost sharing quantity be platform number of servers except in multiple platforms except public resource platform and With the number of servers of public resource platform after the summation of the number of servers of the platform outside the server of content distribution platform Long-pending;5th cost sharing quantity is that the number of servers of platform is removed in multiple platforms except public resource platform and content distribution are put down After the summation of the number of servers of the platform outside the server of platform long-pending with the number of servers of content distribution platform;By three times Cost sharing parameter is as the actual consumption amount of the resource of platform.
Refer to Fig. 4, it illustrates an effect schematic diagram of cost sharing in the application.
In fig. 4 it is shown that the product of multiple types, the product of each type may be constructed product line.All products It can be the product belonging to same company.In first kind product, can comprise and the product of Video service, offer Map Services are provided The product such as product.In Equations of The Second Kind product, the product that search service is provided can be comprised.In 3rd series products, can be comprised this The product that intra-company uses.4th series products is the public resource product that storage common data is available for that all products of company access Product, the product that i.e. public resource platform is corresponding.5th series products is content distribution product, the product that i.e. content distribution platform is corresponding Product.6th series products is that the data shared resource product for the portioned product access of the said firm is shared in storage, i.e. shares resource and puts down The product that platform is corresponding.
In the diagram, the number of servers of first kind product is 40, and the number of servers of Equations of The Second Kind product is 20, the 3rd class The quantity of product is 10, and the number of servers of public resource product is 15, and the number of servers of content distribution product is 5, shares The number of servers of resource product is 10.
A1, a2, a3, a4, a5, a6 represent shared resource product cost sharing to first kind product, Equations of The Second Kind product, the 3rd Series products, public resource product, content distribution product, presetting of shared resource product self share resources costs amortization ratio. Assume that a1, a2, a3, a4, a5, a6 are respectively 40%, 30%, 20%, 2.5%, 2.5%, 5%.
B1, b2, b3, b4 represent first kind product, Equations of The Second Kind product, the 3rd series products, the server of shared resource product Quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product. B1, b2, b3, b4 are respectively 0.5,0.25,0.125,0.125.
C1, c2, c3, c4 represent that content distribution product cost is shared and produce to first kind product, Equations of The Second Kind product, the 3rd class Product, the preset content distribution cost sharing ratio of shared resource product.Assume c1, c2, c3, c4 be respectively 40%, 30%, 20%, 10%.
The cost sharing process of public resource product in explanation cost sharing for the first time below:
In cost sharing, public resource product cost is shared to the number of servers of first kind product for the first time is public money The number of servers of the number of servers of product-derived that is 15 and first kind product and first kind product, Equations of The Second Kind product, the 3rd class Product, share the ratio i.e. product of b1 of summation of the number of servers of resource product, i.e. 15*0.5.For the first time in cost sharing It is 7.5 that public resource product cost is shared to the number of servers of first kind product, and the number of servers of first kind product becomes 47.5。
In cost sharing, public resource product cost is shared to the number of servers of Equations of The Second Kind product for the first time is public money The number of servers of the number of servers of product-derived that is 15 and Equations of The Second Kind product and first kind product, Equations of The Second Kind product, the 3rd class Product, share the ratio i.e. product of b2 of summation of the number of servers of resource product, i.e. 15*0.25.Cost sharing for the first time It is 3.75 that middle public resource product cost is shared to the number of servers of Equations of The Second Kind product.The server count quantitative change of Equations of The Second Kind product It is 23.75.
In cost sharing, public resource product cost shares the number of servers to the 3rd series products for the first time is public money The number of servers of the number of servers of product-derived that is 15 and the 3rd series products and first kind product, Equations of The Second Kind product, the 3rd class Product, share the ratio i.e. product of b3 of summation of the number of servers of resource product, i.e. 15*0.125.Cost sharing for the first time It is 1.875 that middle public resource product cost shares the number of servers to the 3rd series products.The number of servers of the 3rd series products Become 11.875.
In cost sharing, public resource product cost is shared to the number of servers of shared resource product for the first time is public The number of servers of the number of servers of resource product that is 15 and shared resource product and first kind product, Equations of The Second Kind product, the Three series products, share the ratio i.e. product of b4 of summation of the number of servers of resource product, i.e. 15*0.125.Cost for the first time In sharing, it is 1.875 that public resource product cost is shared to the number of servers of shared resource product.Share the clothes of resource product Business device quantity becomes 11.875.
Continue with the cost sharing process of content distribution product in explanation for the first time cost sharing:
In cost sharing, content distribution product cost is shared to the number of servers of first kind product for the first time is that content is divided Number of servers that is 5 sending out product are shared to the preset content distribution cost sharing of first kind product with content distribution product cost The ratio i.e. product of c1, i.e. 5*0.4.For the first time in cost sharing, content distribution product cost is shared to the clothes of first kind product Business device quantity is 2.The number of servers of first kind product becomes 49.5.
In cost sharing, content distribution product cost is shared to the number of servers of Equations of The Second Kind product for the first time is that content is divided Number of servers that is 5 sending out product are shared to the preset content distribution cost sharing of Equations of The Second Kind product with content distribution product cost The ratio i.e. product of c2, i.e. 5*0.3.For the first time in cost sharing, content distribution product cost is shared to the clothes of Equations of The Second Kind product Business device quantity is 1.5.The number of servers of Equations of The Second Kind product becomes 25.25.
In cost sharing, content distribution product cost shares the number of servers to the 3rd series products for the first time is that content is divided Number of servers that is 5 sending out product are shared to the preset content distribution cost sharing of the 3rd series products with content distribution product cost The ratio i.e. product of c3, i.e. 5*0.2.For the first time in cost sharing, content distribution product cost is shared to the clothes of the 3rd series products Business device quantity is 1.The number of servers of the 3rd series products becomes 12.875.
In cost sharing, content distribution product cost is shared to the number of servers of shared resource product for the first time is content The number of servers of distribution product is i.e. shared with content distribution product cost and is distributed cost to the preset content of shared resource product The amortization ratio i.e. product of c4, i.e. 5*0.1.For the first time in cost sharing, content distribution product cost is shared and is produced to shared resource The number of servers of product is 0.5.The number of servers sharing resource product becomes 12.375.
For the first time after cost sharing, the number of servers of a first kind product that is cost sharing parameter becomes 49.5, the The number of servers of a two series products that is cost sharing parameter becomes 25.25, and the number of servers of the 3rd series products is the most once Cost sharing parameter becomes 12.875, and the number of servers sharing resource product becomes 12.375.Public resource product, content are divided Sending out product all to be shared by cost, number of servers is 0.
The cost sharing process of explanation second time below: share resource product, by preset ratio, cost sharing is given to the first kind Product, Equations of The Second Kind product, the 3rd series products, public resource product, content distribution product, shared resource product self.
Cost sharing is shared resource product cost sharing for the second time to the number of servers of first kind product for sharing money The product-derived quantity of server that is 12.375 and shared resource product cost sharing after first time cost sharing are given to first The resources costs amortization ratio i.e. product of a1, i.e. 12.375*0.4 are shared in presetting of series products.The server count of first kind product Quantitative change is 54.45.
Cost sharing is shared resource product cost sharing for the second time to the number of servers of Equations of The Second Kind product for sharing money The product-derived quantity of server that is 12.375 and shared resource product cost sharing after first time cost sharing are given to second The resources costs amortization ratio i.e. product of a2, i.e. 12.375*0.3 are shared in presetting of series products.The server count of Equations of The Second Kind product Quantitative change is 28.9625.
Cost sharing is shared resource product cost sharing for the second time to the number of servers of the 3rd series products for sharing money The product-derived quantity of server that is 12.375 and shared resource product cost sharing after first time cost sharing are given to the 3rd The resources costs amortization ratio i.e. product of a3, i.e. 12.375*0.2 are shared in presetting of series products.The server count of the 3rd series products Quantitative change is 15.35.
Sharing resource product cost sharing for the second time in cost sharing is shared to the number of servers of public resource product The resource product quantity of server that is 12.375 and shared resource product cost sharing after first time cost sharing are given to public affairs Presetting of resource product shares the resources costs amortization ratio i.e. product of a4, i.e. 12.375*0.025 altogether.Public resource product takes Business device quantity becomes 0.309375.
Sharing resource product cost sharing for the second time in cost sharing is shared to the number of servers of content distribution product In the resource product quantity of server that is 12.375 and shared resource product cost sharing after first time cost sharing are given to Hold presetting of distribution product and share the resources costs amortization ratio i.e. product of a5, i.e. 12.375*0.025.Content distribution product Number of servers becomes 0.309375.
For the second time in cost sharing, sharing resource product cost sharing to the number of servers sharing resource product self is Share the resource product quantity of server that is 12.375 after first time cost sharing to give with shared resource product cost sharing Share presetting of resource product self and share the resources costs amortization ratio i.e. product of a6, i.e. 12.375*0.05.Share resource to produce The number of servers of product becomes 0.61875.
For the second time after cost sharing, the number of servers of first kind product i.e. secondary cost sharing parameter becomes 54.45.The The number of servers of two series products i.e. secondary cost sharing parameter becomes 28.9625.Number of servers that is two of the 3rd series products Secondary cost sharing parameter becomes 15.35.Public resource product servers quantity becomes 0.309375.The service of content distribution product Device quantity becomes 0.309375.The number of servers sharing resource product becomes 0.61875.
The cost sharing process of explanation third time below: owing to, during second time cost sharing, sharing resource product will Cost i.e. server cost sharing is to public resource product, content distribution product.Therefore, in third time cost sharing, permissible The cost i.e. server complete cost of public resource product, content distribution product is shared to first kind product, Equations of The Second Kind product, 3rd series products, shared resource product.
In cost sharing, public resource product cost is shared to the number of servers of first kind product for the third time is second time The clothes of first kind product before the number of servers of public resource product that is 0.309375 and for the first time cost sharing after cost sharing Business device quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product The example i.e. product of b1, i.e. 0.309375*0.5.
For the third time in cost sharing, public resource product cost is shared and to the number of servers of first kind product is 0.1546875, the number of servers of first kind product becomes 54.6046875.
In cost sharing, public resource product cost is shared to the number of servers of Equations of The Second Kind product for the third time is second time The clothes of Equations of The Second Kind product before the number of servers of public resource product that is 0.309375 and for the first time cost sharing after cost sharing Business device quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product The example i.e. product of b2, i.e. 0.309375*0.25.
For the third time in cost sharing, public resource product cost is shared and to the number of servers of Equations of The Second Kind product is 0.07734375.The number of servers of Equations of The Second Kind product becomes 29.03984375.
In cost sharing, public resource product cost is shared to the number of servers of the 3rd series products for the third time is second time The clothes of the 3rd series products before the number of servers of public resource product that is 0.309375 and for the first time cost sharing after cost sharing Business device quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product The example i.e. product of b3, i.e. 0.309375*0.125.
For the third time in cost sharing, public resource product cost is shared the number of servers to the 3rd series products and is 0.038671875.The number of servers of the 3rd series products becomes 15.388671875.
In cost sharing, public resource product cost is shared to the number of servers of shared resource product for the third time is second Resource product is shared before the number of servers of public resource product that is 0.309375 and cost sharing for the first time after secondary cost sharing Server count and first kind product, Equations of The Second Kind product, the 3rd series products, share the summation of the number of servers of resource product The ratio i.e. product of b4, i.e. 0.309375*0.125.
For the third time in cost sharing, public resource product cost is shared and to the number of servers of shared resource product is 0.038671875.The number of servers sharing resource product becomes 0.657421875.
In cost sharing, content distribution product cost is shared to the number of servers of first kind product for the third time is second time The clothes of first kind product before the number of servers of content distribution product that is 0.309375 and for the first time cost sharing after cost sharing Business device quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product The example i.e. product of b1, i.e. 0.309375*0.5.
For the third time in cost sharing, content distribution product cost is shared and to the number of servers of first kind product is 0.1546875, the number of servers of first kind product becomes 54.759375.
For the third time in cost sharing, it is second time that content distribution product cost is shared to the number of servers of Equations of The Second Kind product The clothes of Equations of The Second Kind product before the number of servers of content distribution product that is 0.309375 and for the first time cost sharing after cost sharing Business device quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product The example i.e. product of b2, i.e. 0.309375*0.25.
For the third time in cost sharing, content distribution product cost is shared and to the number of servers of Equations of The Second Kind product is 0.07734375.The number of servers of Equations of The Second Kind product becomes 29.1171875.
In cost sharing, content distribution product cost is shared to the number of servers of the 3rd series products for the third time is second time The clothes of the 3rd series products before the number of servers of content distribution product that is 0.309375 and for the first time cost sharing after cost sharing Business device quantity and first kind product, Equations of The Second Kind product, the 3rd series products, share the ratio of the summation of the number of servers of resource product The example i.e. product of b3, i.e. 0.309375*0.125.
For the third time in cost sharing, content distribution product cost is shared the number of servers to the 3rd series products and is 0.038671875.The number of servers of the 3rd series products becomes 15.42734375.
In cost sharing, content distribution product cost is shared to the number of servers of shared resource product for the third time is second Resource product is shared before the number of servers of content distribution product that is 0.309375 and cost sharing for the first time after secondary cost sharing Number of servers and first kind product, Equations of The Second Kind product, the 3rd series products, share the summation of the number of servers of resource product The ratio i.e. product of b4, i.e. 0.309375*0.125.
For the third time in cost sharing, content distribution product cost is shared and to the number of servers of shared resource product is 0.038671875.The number of servers sharing resource product becomes 0.69609375.
For the third time after cost sharing, the number of servers of first kind product that is three time cost sharing parameter becomes 54.759375.The number of servers of Equations of The Second Kind product that is three time cost sharing parameter becomes 29.1171875.3rd series products Number of servers that is three time cost sharing parameter becomes 15.42734375.The number of servers sharing resource product becomes 0.69609375.The number of servers of public resource product and content distribution product becomes 0.
In the present embodiment, after carrying out third time cost sharing, it is also possible to carry out the 4th cost sharing.The 4th In secondary cost sharing, can be by pre-set product, such as the number of servers after the third time of Equations of The Second Kind product is shared is shared and is given to The platform specified.Number of servers shared by each platform specified is pre-set product server count after third time is shared Measure the default cost sharing ratio corresponding with this platform long-pending.
Refer to Fig. 5, it illustrates the structural representation of an embodiment of the information acquisition device according to the application.Letter Breath acquisition device 500 includes: statistic unit 501, computing unit 502.Wherein, statistic unit 501 is configured to add up multiple flat The consumption of the resource in each platform running in platform, multiple platforms include: public resource platform, content distribution are flat Platform, shared resource platform, wherein, public resource platform provides common data to access clothes for other platforms in multiple platforms Business, content distribution platform in multiple platforms other platforms provide content distribution service, share resource platform for Partial flats in other platforms provides shares data access service;Computing unit 502 is configured to based on consumption and presets Ratio, calculates the actual consumption amount of the resource of each platform in multiple platform, preset ratio instruction request common data respectively The service of access, content distribution service, share the platform request service of data access service and caused provide the platform serviced Consumption and all request common datas of resource access service, content distribution service, the platform of shared data access service The ratio of the consumption sum of the resource of the platform that service is provided that request services and causes.
In some optional implementations of the present embodiment, shared resource platform includes: be used for providing architecture to take The base platform of business.
In some optional implementations of the present embodiment, resource includes: server, connection line, server rack, The network bandwidth.
In some optional implementations of the present embodiment, computing unit 502 includes: the first cost sharing parameter calculates Subelement (not shown), is configured to when resource is server, calculates a cost sharing parameter of platform, once becomes one's duty Stand parameter is the first cost sharing quantity and the second cost sharing quantity sum, and the first cost sharing quantity is the server of platform Quantity after the summation of the number of servers of platform in addition to public resource platform and content distribution platform in multiple platforms with The number of servers of public resource platform is long-pending, and the second cost sharing quantity is the preset content distribution cost sharing that platform is corresponding Ratio is long-pending with the number of servers of content distribution platform;Second cost sharing parameter computation unit (not shown), configuration is used In the secondary cost sharing parameter of calculating platform, secondary cost sharing parameter is a cost sharing parameter and the 3rd cost sharing Quantity sum, the 3rd cost sharing quantity is that resources costs amortization ratio and shared resource platform are shared in corresponding the presetting of platform Number of servers is long-pending;3rd cost sharing parameter computation unit (not shown), is configured to calculate three costs of platform Sharing parameter, three cost sharing parameters are secondary cost sharing parameter and the 4th cost sharing quantity and the 5th cost sharing number Amount sum, the 4th cost sharing quantity is that the number of servers of platform is except removing public resource platform and content distribution in multiple platforms After the summation of the number of servers of the platform outside the server of platform long-pending with the number of servers of public resource platform;5th Cost sharing quantity is that the number of servers of platform is except removing public resource platform and the service of content distribution platform in multiple platforms After the summation of the number of servers of the platform outside device long-pending with the number of servers of content distribution platform;Dispensing unit (does not shows Go out), it is configured to three cost sharing parameters as the actual consumption amount of the resource of platform.
Fig. 6 shows the structural representation of the computer system being suitable to the information acquisition device for realizing the embodiment of the present application Figure.
As shown in Figure 6, computer system 600 includes CPU (CPU) 601, and it can be read-only according to being stored in Program in memorizer (ROM) 602 or be loaded into the program random access storage device (RAM) 603 from storage part 608 and Perform various suitable action and process.In RAM603, also storage has system 600 to operate required various programs and data. CPU601, ROM602 and RAM 603 is connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus 604。
It is connected to I/O interface 605: include the importation 606 of keyboard, mouse etc. with lower component;Penetrate including such as negative electrode The output part 607 of spool (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 608 including hard disk etc.; And include the communications portion 609 of the NIC of such as LAN card, modem etc..Communications portion 609 via such as because of The network of special net performs communication process.Driver 610 is connected to I/O interface 605 also according to needs.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., be arranged in driver 610, in order to read from it as required Computer program as required be mounted into storage part 608.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart may be implemented as computer Software program.Such as, embodiment of the disclosure and include a kind of computer program, it includes being tangibly embodied in machine readable Computer program on medium, described computer program comprises the program code for performing the method shown in flow chart.At this In the embodiment of sample, this computer program can be downloaded and installed from network by communications portion 609, and/or from removable Unload medium 611 to be mounted.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to system, method and the computer journey of the various embodiment of the application Architectural framework in the cards, function and the operation of sequence product.In this, each square frame in flow chart or block diagram can generation One module of table, program segment or a part for code, a part for described module, program segment or code comprises one or more For realizing the executable instruction of the logic function of regulation.It should also be noted that some as replace realization in, institute in square frame The function of mark can also occur to be different from the order marked in accompanying drawing.Such as, the square frame that two succeedingly represent is actual On can perform substantially in parallel, they can also perform sometimes in the opposite order, and this is depending on involved function.Also want It is noted that the combination of the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart, Ke Yiyong The special hardware based system of the function or operation that perform regulation realizes, or can refer to computer with specialized hardware The combination of order realizes.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, this non-volatile calculating Machine storage medium can be the nonvolatile computer storage media described in above-described embodiment included in device;Can also be Individualism, is unkitted the nonvolatile computer storage media allocating in terminal.Above-mentioned nonvolatile computer storage media is deposited Contain one or more program, when one or more program is performed by an equipment so that described equipment: statistics The consumption of the resource in each platform running in multiple platforms, the plurality of platform includes: public resource platform, interior Holding distribution platform, share resource platform, wherein, described public resource platform provides public affairs for other platforms in multiple platforms Data access service altogether, content distribution platform provides content distribution service for other platforms in multiple platforms, described common Enjoy resource platform and provide shared data access service for the Partial flats in other platforms described;Based on described consumption and Preset ratio, calculates the actual consumption amount of the resource of each platform in multiple platform, the instruction request of described preset ratio respectively Common data accesses service, content distribution service, the platform request service of shared data access service and caused offer institute The consumption of the resource stating the platform of service accesses service, content distribution service with the described common data of all requests, shares number The ratio of the consumption sum of the resource of the platform that described service is provided caused according to accessing the platform request service serviced.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, also should contain in the case of without departing from described inventive concept simultaneously, above-mentioned technical characteristic or its equivalent feature carry out Combination in any and other technical scheme of being formed.Such as features described above has similar merit with (but not limited to) disclosed herein The technical scheme that the technical characteristic of energy is replaced mutually and formed.

Claims (8)

1. an information getting method, it is characterised in that described method includes:
The consumption of the resource added up in multiple platform in each platform running, the plurality of platform includes: public money Source platform, content distribution platform, shared resource platform, wherein, described public resource platform is for other in multiple platforms Platform provides common data to access service, and content distribution platform provides content distribution clothes for other platforms in multiple platforms Business, described shared resource platform provides for the Partial flats in other platforms described shares data access service;
Based on described consumption and preset ratio, calculate the actual consumption amount of the resource of each platform in multiple platform respectively, Described preset ratio instruction request common data accesses service, content distribution service, the platform request of shared data access service Service and the consumption of the resource of the caused platform that described service is provided and the access service of all request common datas, content Distribution service, share the platform request service of data access service and the consumption of the resource of the platform that described service is provided that causes The ratio of amount sum.
Method the most according to claim 1, it is characterised in that described shared resource platform includes: be used for providing foundation frame The base platform of structure service.
Method the most according to claim 2, it is characterised in that described resource includes: server, connection line, server Frame, the network bandwidth.
Method the most according to claim 3, it is characterised in that described resource is server;And
Based on described consumption and preset ratio, calculate the actual consumption amount bag of the resource of each platform in multiple platform respectively Include:
Calculating a cost sharing parameter of described platform, a described cost sharing parameter is the first cost sharing quantity and Two cost sharing quantity sums, described first cost sharing quantity is that the number of servers of described platform is except removing public affairs in multiple platforms Altogether after the summation of the number of servers of the platform outside resource platform and content distribution platform with the server of public resource platform Quantity is long-pending, and described second cost sharing quantity is that the preset content distribution cost sharing ratio that described platform is corresponding is divided with content The number of servers sending out platform is long-pending;
Calculating the secondary cost sharing parameter of described platform, described secondary cost sharing parameter is a described cost sharing parameter With the 3rd cost sharing quantity sum, described 3rd cost sharing quantity is that the shared resources costs of presetting that described platform is corresponding is divided Stand ratio is long-pending with the number of servers of shared resource platform;
Calculating three cost sharing parameters of described platform, described three cost sharing parameters are described secondary cost sharing parameter With the 4th cost sharing quantity and the 5th cost sharing quantity sum, described 4th cost sharing quantity is the service of described platform Device quantity is except the number of servers of platform in addition to the server of public resource platform and content distribution platform in multiple platforms Summation after long-pending with the number of servers of public resource platform;Described 5th cost sharing quantity is the server of described platform Quantity is except the number of servers of platform in addition to the server of public resource platform and content distribution platform in multiple platforms After summation long-pending with the number of servers of content distribution platform;
Using described three cost sharing parameters as the actual consumption amount of the resource of described platform.
5. an information acquisition device, it is characterised in that described device includes:
Statistic unit, is configured to add up the consumption of the resource in each platform running in multiple platform, described many Individual platform includes: public resource platform, content distribution platform, share resource platform, wherein, described public resource platform for Other platforms in multiple platforms provide common data to access service, and content distribution platform is put down for other in multiple platforms Platform provides content distribution service, and described shared resource platform provides for the Partial flats in other platforms shares data access Service;
Computing unit, is configured to, based on described consumption and preset ratio, calculate each platform in multiple platform respectively The actual consumption amount of resource, described preset ratio instruction request common data accesses service, content distribution service, shares data visit Ask the platform request service of service and the consumption of the resource of the caused platform providing described service is public with all requests Data access service, content distribution service, share the platform request service of data access service and the described service of offer that causes The ratio of consumption sum of resource of platform.
Device the most according to claim 5, it is characterised in that described shared resource platform includes: be used for providing foundation frame The base platform of structure service.
Device the most according to claim 6, it is characterised in that described resource includes: server, connection line, server Frame, the network bandwidth.
Device the most according to claim 7, it is characterised in that described computing unit includes:
First cost sharing parameter computation unit, is configured to, when described resource is server, calculate the one of described platform Secondary cost sharing parameter, a described cost sharing parameter is the first cost sharing quantity and the second cost sharing quantity sum, Described first cost sharing quantity is that the number of servers of described platform is removed in multiple platforms except public resource platform and content are divided After the summation of the number of servers sending out platform outside platform long-pending with the number of servers of public resource platform, described the second one-tenth Originally sharing quantity is the preset content distribution cost sharing ratio and the number of servers of content distribution platform that described platform is corresponding Long-pending;
Second cost sharing parameter computation unit, is configured to calculate the secondary cost sharing parameter of described platform, and described two Secondary cost sharing parameter is a described cost sharing parameter and the 3rd cost sharing quantity sum, described 3rd cost sharing number It is long-pending with the number of servers of shared resource platform that amount shares resources costs amortization ratio for corresponding the presetting of described platform;
3rd cost sharing parameter computation unit, is configured to calculate three cost sharing parameters of described platform, and described three Secondary cost sharing parameter is described secondary cost sharing parameter and the 4th cost sharing quantity and the 5th cost sharing quantity sum, Described 4th cost sharing quantity is that the number of servers of described platform is removed in multiple platforms except public resource platform and content are divided After the summation of the number of servers sending out platform outside the server of platform long-pending with the number of servers of public resource platform;Institute State the number of servers that the 5th cost sharing quantity is described platform to remove in multiple platforms except public resource platform and content distribution After the summation of the number of servers of the platform outside the server of platform long-pending with the number of servers of content distribution platform;
Dispensing unit, is configured to described three cost sharing parameters as the actual consumption amount of the resource of described platform.
CN201610425807.9A 2016-06-15 2016-06-15 Information acquisition method and device Active CN106130757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610425807.9A CN106130757B (en) 2016-06-15 2016-06-15 Information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610425807.9A CN106130757B (en) 2016-06-15 2016-06-15 Information acquisition method and device

Publications (2)

Publication Number Publication Date
CN106130757A true CN106130757A (en) 2016-11-16
CN106130757B CN106130757B (en) 2019-10-18

Family

ID=57470009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610425807.9A Active CN106130757B (en) 2016-06-15 2016-06-15 Information acquisition method and device

Country Status (1)

Country Link
CN (1) CN106130757B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130757B (en) * 2016-06-15 2019-10-18 北京百度网讯科技有限公司 Information acquisition method and device
CN111400033A (en) * 2020-03-03 2020-07-10 京东数字科技控股有限公司 Platform resource cost allocation method and device, storage medium and computer equipment
CN111400033B (en) * 2020-03-03 2024-04-19 京东科技控股股份有限公司 Platform resource cost allocation method and device, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1431613A (en) * 2002-01-10 2003-07-23 英业达股份有限公司 Method of distribution system for handling apportionments of expenses
CN102466501A (en) * 2010-11-10 2012-05-23 Hp投资有限公司 Systems and methods for apportioning usage of a utility in a multi-unit building
US20130326506A1 (en) * 2012-05-30 2013-12-05 Michael P. McGrath Mechanism for Controlling Capacity in a Multi-Tenant Platform-as-a-Service (Paas) Environment in a Cloud Computing System

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130757B (en) * 2016-06-15 2019-10-18 北京百度网讯科技有限公司 Information acquisition method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1431613A (en) * 2002-01-10 2003-07-23 英业达股份有限公司 Method of distribution system for handling apportionments of expenses
CN102466501A (en) * 2010-11-10 2012-05-23 Hp投资有限公司 Systems and methods for apportioning usage of a utility in a multi-unit building
US20130326506A1 (en) * 2012-05-30 2013-12-05 Michael P. McGrath Mechanism for Controlling Capacity in a Multi-Tenant Platform-as-a-Service (Paas) Environment in a Cloud Computing System

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130757B (en) * 2016-06-15 2019-10-18 北京百度网讯科技有限公司 Information acquisition method and device
CN111400033A (en) * 2020-03-03 2020-07-10 京东数字科技控股有限公司 Platform resource cost allocation method and device, storage medium and computer equipment
CN111400033B (en) * 2020-03-03 2024-04-19 京东科技控股股份有限公司 Platform resource cost allocation method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN106130757B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN105103506B (en) For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing
CN104966214B (en) A kind of exchange method and device of electronic ticket
CN107491858A (en) A kind of electric power transaction platform based on micro services application architecture
CN104737132B (en) For the message queue in on-demand service environment based on the resource-sharing bidded
CN108737325A (en) A kind of multi-tenant data partition method, apparatus and system
CN107231264A (en) For the method and apparatus for the capacity for managing Cloud Server
CN105207812B (en) A kind of cloud computing resources Forecasting Methodology and system based on business model
CN108846705A (en) A kind of digital integration service system, method and electronic device
CN108090225A (en) Operation method, device, system and the computer readable storage medium of database instance
CN104536965B (en) A kind of data query display systems under the conditions of big data and method
CN108549583A (en) Big data processing method, device, server and readable storage medium storing program for executing
US20190095245A1 (en) System and Method for Apportioning Shared Computer Resources
CN108183933A (en) Information push method, apparatus and system, electronic equipment and computer storage media
CN102710793A (en) Network printing system based on cloud computing and data storage method thereof
CN109902919A (en) Server assets management method, device, equipment and readable storage medium storing program for executing
CN108255707A (en) Development roles creation method, device, equipment and the storage medium of test case
CN106131055A (en) Method and apparatus for batch operation authority
CN108764699A (en) Scheduling method, server and computer readable storage medium
CN107369055A (en) The picking distribution method and device of order messages
CN109697637A (en) Object type determines method, apparatus, electronic equipment and computer storage medium
CN109657965A (en) A kind of service resource allocation method, device, storage medium and processor
CN110533536A (en) Transaction risk appraisal procedure, device and computer system
CN106130757A (en) Information getting method and device
CN114625975B (en) Knowledge graph-based customer behavior analysis system
CN106651290A (en) Flow management software system and the authority management method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant