CN106130757B - Information acquisition method and device - Google Patents
Information acquisition method and device Download PDFInfo
- Publication number
- CN106130757B CN106130757B CN201610425807.9A CN201610425807A CN106130757B CN 106130757 B CN106130757 B CN 106130757B CN 201610425807 A CN201610425807 A CN 201610425807A CN 106130757 B CN106130757 B CN 106130757B
- Authority
- CN
- China
- Prior art keywords
- platform
- resource
- cost sharing
- product
- servers
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses information acquisition methods and device.One specific embodiment of this method includes: the consumption of the resource in the multiple platforms of statistics in each platform operational process;Based on consumption and preset ratio, the actual consumption amount of the resource of each platform in multiple platforms is calculated separately.It realizes and the platform that the operating cost for providing the platform of service to other platforms shares request service is improved the accuracy of cost accounting, further ensure that and reasonably distribute resource to calculate the actual consumption amount of the resource of each platform.
Description
Technical field
This application involves internet areas, and in particular to infrastructure technologies field more particularly to information acquisition method and
Device.
Background technique
With the fast development of Internet technology, the service for being supplied to user is also more and more abundant.In the mistake of operating service
Cheng Zhong needs the operating cost for each single item service to be calculated, effectively to distribute resource.Currently, generally use at
This accounting mode are as follows: each department number of servers that independently statistical fractals occupy manually, connection line, bandwidth
Etc. costs.
However, resource consumed by service itself is only accounted for when carrying out operating cost accounting using aforesaid way, and
The resource for not accounting for other platforms consumed by servicing, leads to not the actual consumption for accurately calculating the resource of service
Amount.
Summary of the invention
This application provides information acquisition methods and device, ask for solving technology existing for above-mentioned background technology part
Topic.
In a first aspect, this application provides information acquisition methods, this method comprises: counting each platform in multiple platforms
The consumption of resource in operational process, multiple platforms include: public resource platform, content distribution platform, shared resource platform,
Wherein, public resource platform provides common data access service, content distribution platform for other platforms into multiple platforms
Content distribution service is provided for other platforms into multiple platforms, shared resource platform is for the part into other platforms
Platform provides shared data access service;Based on consumption and preset ratio, each platform in multiple platforms is calculated separately
The actual consumption amount of resource, preset ratio instruction request common data access service, content distribution service, shared data access clothes
The consumption and all request common datas of the resource of the platform of the platform request service of business and caused offer service access
The resource of the platform of service is provided caused by the platform request service that service, content distribution service, shared data access service
The sum of consumption ratio.
Second aspect, this application provides information acquisition device, which includes: statistic unit, and it is more to be configured to statistics
The consumption of resource in a platform in each platform operational process, multiple platforms include: public resource platform, content distribution
Platform, shared resource platform, wherein public resource platform provides common data access for other platforms into multiple platforms
Service, content distribution platform provide content distribution service for other platforms into multiple platforms, and shared resource platform is used for
Partial flats into other platforms provide shared data access service;Computing unit is configured to based on consumption and presets
Ratio calculates separately the actual consumption amount of the resource of each platform in multiple platforms, preset ratio instruction request common data
The service of access, content distribution service, shared data access the platform request service serviced and the platform of caused offer service
Resource consumption and it is all request common datas access services, content distribution service, shared data access service platforms
The ratio of the sum of consumption of resource of platform of service is provided caused by request service.
Information acquisition method and device provided by the present application, by counting in multiple platforms in each platform operational process
Resource consumption;Based on consumption and preset ratio, the reality of the resource of each platform in multiple platforms is calculated separately
Consumption.The platform that the operating cost that the platform of service is provided to other platforms is shared to request service is realized, thus core
The actual consumption amount for calculating the resource of each platform, improves the accuracy of cost accounting, further ensures that and reasonably distributes
Resource.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 shows the flow charts according to one embodiment of the information acquisition method of the application;
Fig. 3 shows an exemplary architecture figure of the cost sharing suitable for the application;
Fig. 4 shows an effect diagram of the cost sharing in the application;
Fig. 5 shows the structural schematic diagram of one embodiment of the information acquisition device according to the application;
Fig. 6 shows the structural representation for being suitable for the computer system for the information acquisition device for being used to realize the embodiment of the present application
Figure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system architecture of the embodiment of the information acquisition method or device of the application
100。
As shown in Figure 1, system architecture 100 may include platform cost accounting platform 101, platform 102, network 103, platform
102 can be to be multiple, such as public resource platform, content distribution platform.Network 103 is in 101 peace of cost accounting platform
The medium of transmission link is provided between platform 102.
Cost accounting platform 101 can be run on server cluster, and cost accounting platform 101 can receive platform 102
The consumption of the resources such as number of servers, number of, lines, the network bandwidth of platform 102 of upload.Cost accounting platform 101 can be with
The consumption for counting the resources such as number of servers, number of, lines, network bandwidth of platform 102, to the operating cost of platform 102 into
Row is calculated.
Referring to FIG. 2, it illustrates the processes 200 according to one embodiment of the information acquisition method of the application.The party
Method the following steps are included:
Step 201, the consumption of the resource in multiple platforms in each platform operational process is counted.
In the present embodiment, multiple platforms include: public resource platform, content distribution platform, shared resource platform,
In, public resource platform provides common data access service for other platforms into multiple platforms, and content distribution platform is used
Content distribution service is provided in other platforms into multiple platforms, part of the shared resource platform for into other platforms is flat
Platform provides shared data access service.
In the present embodiment, public resource platform is storage common data for other platform access in multiple platforms
Platform, shared resource platform are to store shared data for the platform of part platform access in other platforms, first resource consumption
Parameter instruction consumed hardware resource and/or Internet resources when accessed.
In the present embodiment, platform may include the hardware structure of the service and support service.For example, search platform can be with
Hardware structure comprising search service and support search service.In the present embodiment, public resource platform is storage common data
For the platform of other platform access in multiple platforms.Shared resource platform is storage shared data in the middle part of other platforms
Divide the platform of platform access.
The reason of illustrating the actual consumption amount that the resource of each platform is calculated in the application below: it is run in multiple platforms
During, it needs to calculate at interval of operating cost of the preset time period to each platform, so that adjustment is distributed in time
The resource of each platform.But in multiple platforms, public resource platform, content distribution platform, the money of shared resource platform consumption
Source be actually for other platforms provide service and consume, and calculating each platform resource actual consumption amount
When, this part of calculation amount is not counted.
Therefore, in the present embodiment, need to consume on public resource platform, content distribution platform, shared resource platform
Actual consumption of the Resource Calculation for actually providing service for other platforms and consuming of resource in the resource of each platform
Among amount, which can be referred to as cost sharing.To get after cost sharing, the reality of the resource of each platform
Border consumption.
Referring to FIG. 3, it illustrates an exemplary architecture figures of the cost sharing for being suitable for 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) system
System.TCO system, which can be used for counting, can be used for infrastructure money with analysis operating facilities cost, resource, efficiency, rmc system
The O&M for producing management and Life cycle operates, and NOAH system can be the function such as integrated upper wire management, machine handing, monitoring alarm
The operation management platform of energy.PDB system can be used for being managed collectively product tree construction and measuring and calculating product investment.
In the present embodiment, platform can be referred to as product.For example, one can be referred to as by providing the website of Video service
A video website product.In the present embodiment, can classify according to the type of the service of offer to product.It can use tree
Incidence relation between graphic data representation product, the tree form data structure can be referred to as products-tree, also referred to as PDB
Products-tree.
In the present embodiment, when carrying out cost sharing, product can be classified in advance, belong to same type of production
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 is synchronous with the holding of PDB system.NOAH system can read PDB products-tree from rmc system.NOAH system maintenance PDB product
The corresponding relationship of tree and product line.Rmc system synchronizes the corresponding relationship.Rmc system can by PDB products-tree, PDB products-tree with
The information such as the resource that corresponding relationship, the product of product line consume are exported to TCO system.
In some optional implementations of the present embodiment, resource include: server, connection line, server rack,
Network bandwidth.
In the present embodiment, when carrying out cost sharing, allocated cost be can include but is 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: to provide infrastructure services
Base platform.
In the present embodiment, shared resource platform can be to provide the base platform of infrastructure services, such as empty
Quasi-ization platform, operation platform.
Step 202, it is based on consumption and preset ratio, calculates separately the reality of the resource of each platform in multiple platforms
Consumption.
In the present embodiment, preset ratio instruction request common data access service, content distribution service, shared data are visited
The consumption and all request common datas of the resource of the platform of the platform request service of service and caused offer service are provided
The platform of service is provided caused by the platform request service that access service, content distribution service, shared data access service
The ratio of the total flow of resource.
It in the present embodiment,, can be according to the clothes of platform for the cost of public resource platform when carrying out cost sharing
The ratio of device quantity of being engaged in and the total quantity of server carries out cost sharing.It, can be according to pre- for the cost of content distribution platform
If content distribution cost sharing ratio carries out cost sharing.It, can be according to default shared money for the cost of shared resource platform
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 for calculating separately the resource of each platform in multiple platforms includes: a cost sharing of computing platform
Parameter, a cost sharing parameter are the sum of the first cost sharing quantity and the second cost sharing quantity, the first cost sharing number
Amount is the number of servers of platform except the service of the platform in multiple platforms in addition to public resource platform and content distribution platform
With the product of the number of servers of public resource platform after the summation of device quantity, the second cost sharing quantity is that platform is corresponding default
The product of the number of servers of content distribution cost sharing ratio and content distribution platform;The secondary cost sharing of computing platform is joined
Number, secondary cost sharing parameter are the sum of a cost sharing parameter and third cost sharing quantity, third cost sharing quantity
For the product of the corresponding default shared resource cost sharing ratio of platform and the number of servers of shared resource platform;Computing platform
Cost sharing parameter three times, cost sharing parameter is secondary cost sharing parameter and the 4th cost sharing quantity and the fifty percentth three times
Originally share the sum of quantity, the 4th cost sharing quantity be platform number of servers except in multiple platforms except public resource platform and
After the summation of the number of servers of platform except the server of content distribution platform with the number of servers of public resource platform
Product;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 flat
After the summation of the number of servers of platform except the server of platform with the product of the number of servers of content distribution platform;It will three times
Actual consumption amount of the cost sharing parameter as the resource of platform.
Referring to FIG. 4, it illustrates an effect diagrams of the 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 for belonging to same company.In first kind product, it may include and the product of Video service is provided, Map Services are provided
The products such as product.In second class product, it may include and the product of search service is provided.In third class product, this may include
The product that intra-company uses.4th class product is to store the public resource that common data accesses for all products of company to produce
Product, the i.e. corresponding product of public resource platform.5th class product is content distribution product, the i.e. corresponding production of content distribution platform
Product.6th class product is the shared resource product for storing portioned product access of the shared data for the said firm, i.e. shared resource is flat
The corresponding product of platform.
In Fig. 4, the number of servers of first kind product is 40, and the number of servers of the second class product is 20, third 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, is shared
The number of servers of resource product is 10.
A1, a2, a3, a4, a5, a6 indicate that shared resource product cost is shared to first kind product, the second class product, third
The default shared resource cost sharing ratio of class product, public resource product, content distribution product, shared resource product itself.
Assuming that a1, a2, a3, a4, a5, a6 are respectively 40%, 30%, 20%, 2.5%, 2.5%, 5%.
B1, b2, b3, b4 indicate the server of first kind product, the second class product, third class product, shared resource product
The ratio of the summation of quantity and the number of servers of first kind product, the second class product, third class product, shared resource product.
B1, b2, b3, b4 are respectively 0.5,0.25,0.125,0.125.
C1, c2, c3, c4 indicate that content distribution product cost is shared and produce to first kind product, the second class product, third class
The preset content distribution cost sharing ratio of product, shared resource product.Assuming that c1, c2, c3, c4 are respectively 40%, 30%,
20%, 10%.
Illustrate the cost sharing process of public resource product in first time cost sharing below:
It is public money that public resource product cost, which is shared to the number of servers of first kind product, in first time cost sharing
The number of servers and first kind product, the second class product, third class of the number of servers of product-derived i.e. 15 and first kind product
Ratio, that is, b1 product of the summation of the number of servers of product, shared resource product, i.e. 15*0.5.In first time cost sharing
It is 7.5 that public resource product cost, which is shared to the number of servers of first kind product, and the number of servers of first kind product becomes
47.5。
It is public money that public resource product cost, which is shared to the number of servers of the second class product, in first time cost sharing
The number of servers of the number of servers of product-derived i.e. 15 and the second class product and first kind product, the second class product, third class
Ratio, that is, b2 product of the summation of the number of servers of product, shared resource product, i.e. 15*0.25.First time cost sharing
It is 3.75 that middle public resource product cost, which is shared to the number of servers of the second class product,.The server count quantitative change of second class product
It is 23.75.
It is public money that public resource product cost, which is shared to the number of servers of third class product, in first time cost sharing
The number of servers and first kind product, the second class product, third class of the number of servers of product-derived i.e. 15 and third class product
Ratio, that is, b3 product of the summation of the number of servers of product, shared resource product, i.e. 15*0.125.First time cost sharing
It is 1.875 that middle public resource product cost, which is shared to the number of servers of third class product,.The number of servers of third class product
Become 11.875.
It is public that public resource product cost, which is shared to the number of servers of shared resource product, in first time cost sharing
The number of servers and first kind product of the number of servers of resource product i.e. 15 and shared resource product, the second class product, the
Ratio, that is, b4 product of the summation of the number of servers of three classes product, shared resource product, i.e. 15*0.125.First time cost
In sharing, it is 1.875 that public resource product cost, which is shared to the number of servers of shared resource product,.The clothes of shared resource product
Business device quantity becomes 11.875.
Continue with the cost sharing process for illustrating content distribution product in first time cost sharing:
It is content point that content distribution product cost, which is shared to the number of servers of first kind product, in first time cost sharing
Number of servers i.e. 5 and content distribution product cost for sending out product, which are shared, distributes cost sharing to the preset content of first kind product
Ratio, that is, c1 product, i.e. 5*0.4.In first time cost sharing, content distribution product cost is shared to the clothes of first kind product
Device quantity of being engaged in is 2.The number of servers of first kind product becomes 49.5.
It is content point that content distribution product cost, which is shared to the number of servers of the second class product, in first time cost sharing
Number of servers i.e. 5 and content distribution product cost for sending out product, which are shared, distributes cost sharing to the preset content of the second class product
Ratio, that is, c2 product, i.e. 5*0.3.In first time cost sharing, content distribution product cost is shared to the clothes of the second class product
Device quantity of being engaged in is 1.5.The number of servers of second class product becomes 25.25.
It is content point that content distribution product cost, which is shared to the number of servers of third class product, in first time cost sharing
Number of servers i.e. 5 and content distribution product cost for sending out product, which are shared, distributes cost sharing to the preset content of third class product
Ratio, that is, c3 product, i.e. 5*0.2.In first time cost sharing, content distribution product cost is shared to the clothes of third class product
Device quantity of being engaged in is 1.The number of servers of third class product becomes 12.875.
It is content that content distribution product cost, which is shared to the number of servers of shared resource product, in first time cost sharing
The number of servers of distribution product is to share to distribute cost to the preset content of shared resource product with content distribution product cost
Amortization ratio, that is, c4 product, i.e. 5*0.1.In first time cost sharing, content distribution product cost is shared to be produced to shared resource
The number of servers of product is 0.5.The number of servers of shared resource product becomes 12.375.
After first time cost sharing, the number of servers of a first kind product i.e. cost sharing parameter becomes 49.5,
A number of servers i.e. cost sharing parameter for two class products becomes 25.25, the number of servers of third class product, that is, primary
Cost sharing parameter becomes 12.875, and the number of servers of shared resource product becomes 12.375.Public resource product, content point
Hair product all shares cost, number of servers 0.
Illustrate second of cost sharing process below: cost sharing is given to the first kind by preset ratio by shared resource product
Product, the second class product, third class product, public resource product, content distribution product, shared resource product itself.
It is shared money that shared resource product cost, which is shared to the number of servers of first kind product, in second of cost sharing
Quantity i.e. 12.375 of product-derived server after first time cost sharing and shared resource product cost sharing are given to first
The product of default shared resource cost sharing ratio, that is, a1 of class product, i.e. 12.375*0.4.The server count of first kind product
Quantitative change is 54.45.
It is shared money that shared resource product cost, which is shared to the number of servers of the second class product, in second of cost sharing
Quantity i.e. 12.375 of product-derived server after first time cost sharing and shared resource product cost sharing are given to second
The product of default shared resource cost sharing ratio, that is, a2 of class product, i.e. 12.375*0.3.The server count of second class product
Quantitative change is 28.9625.
It is shared money that shared resource product cost, which is shared to the number of servers of third class product, in second of cost sharing
Quantity i.e. 12.375 of product-derived server after first time cost sharing and shared resource product cost sharing are given to third
The product of default shared resource cost sharing ratio, that is, a3 of class product, i.e. 12.375*0.2.The server count of third class product
Quantitative change is 15.35.
It is shared that shared resource product cost, which is shared to the number of servers of public resource product, in second of cost sharing
Quantity i.e. 12.375 of resource product server after first time cost sharing and shared resource product cost sharing are given to public affairs
The product of default shared resource cost sharing ratio, that is, a4 of resource product altogether, i.e. 12.375*0.025.Public resource product clothes
Business device quantity becomes 0.309375.
It is shared that shared resource product cost, which is shared to the number of servers of content distribution product, in second of cost sharing
In quantity i.e. 12.375 of resource product server after first time cost sharing and shared resource product cost sharing are given to
Hold the product of default shared resource cost sharing ratio, that is, a5 of distribution product, i.e. 12.375*0.025.Content distribution product
Number of servers becomes 0.309375.
In second of cost sharing, shared resource product cost is shared is to the number of servers of shared resource product itself
Quantity i.e. 12.375 of shared resource product server after first time cost sharing are given with shared resource product cost sharing
The product of default shared resource cost sharing ratio, that is, a6 of shared resource product itself, i.e. 12.375*0.05.Shared resource produces
The number of servers of product becomes 0.61875.
After second of cost sharing, number of servers, that is, secondary cost sharing parameter of first kind product becomes 54.45.The
The number of servers of two class products, that is, secondary cost sharing parameter becomes 28.9625.Number of servers i.e. two of third class product
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 of shared resource product becomes 0.61875.
Illustrate third time cost sharing process below: since during second of cost sharing, shared resource product will
Cost, that is, server cost sharing is to public resource product, content distribution product.It therefore, can be in third time cost sharing
By cost, that is, server complete cost of public resource product, content distribution product share to first kind product, the second class product,
Third class product, shared resource product.
It is second that public resource product cost, which is shared to the number of servers of first kind product, in third time cost sharing
The clothes of the number of servers of public resource product i.e. 0.309375 and first kind product before first time cost sharing after cost sharing
The ratio of the summation of device quantity of being engaged in and the number of servers of first kind product, the second class product, third class product, shared resource product
Example is the product of b1, i.e. 0.309375*0.5.
In third time cost sharing, public resource product cost is shared is to the number of servers of first kind product
0.1546875, the number of servers of first kind product becomes 54.6046875.
It is second that public resource product cost, which is shared to the number of servers of the second class product, in third time cost sharing
The clothes of the number of servers of public resource product i.e. 0.309375 and the second class product before first time cost sharing after cost sharing
The ratio of the summation of device quantity of being engaged in and the number of servers of first kind product, the second class product, third class product, shared resource product
Example is the product of b2, i.e. 0.309375*0.25.
In third time cost sharing, public resource product cost is shared is to the number of servers of the second class product
0.07734375.The number of servers of second class product becomes 29.03984375.
It is second that public resource product cost, which is shared to the number of servers of third class product, in third time cost sharing
The clothes of the number of servers of public resource product i.e. 0.309375 and third class product before first time cost sharing after cost sharing
The ratio of the summation of device quantity of being engaged in and the number of servers of first kind product, the second class product, third class product, shared resource product
Example is the product of b3, i.e. 0.309375*0.125.
In third time cost sharing, public resource product cost is shared is to the number of servers of third class product
0.038671875.The number of servers of third class product becomes 15.388671875.
It is second that public resource product cost, which is shared to the number of servers of shared resource product, in third time cost sharing
The number of servers of public resource product i.e. 0.309375 and shared resource product before first time cost sharing after secondary cost sharing
Server count and first kind product, the second class product, third class product, shared resource product number of servers summation
Ratio, that is, b4 product, i.e. 0.309375*0.125.
In third time cost sharing, public resource product cost is shared is to the number of servers of shared resource product
0.038671875.The number of servers of shared resource product becomes 0.657421875.
It is second that content distribution product cost, which is shared to the number of servers of first kind product, in third time cost sharing
The clothes of the number of servers of content distribution product i.e. 0.309375 and first kind product before first time cost sharing after cost sharing
The ratio of the summation of device quantity of being engaged in and the number of servers of first kind product, the second class product, third class product, shared resource product
Example is the product of b1, i.e. 0.309375*0.5.
In third time cost sharing, content distribution product cost is shared is to the number of servers of first kind product
0.1546875, the number of servers of first kind product becomes 54.759375.
In third time cost sharing, it is second that content distribution product cost, which is shared to the number of servers of the second class product,
The clothes of the number of servers of content distribution product i.e. 0.309375 and the second class product before first time cost sharing after cost sharing
The ratio of the summation of device quantity of being engaged in and the number of servers of first kind product, the second class product, third class product, shared resource product
Example is the product of b2, i.e. 0.309375*0.25.
In third time cost sharing, content distribution product cost is shared is to the number of servers of the second class product
0.07734375.The number of servers of second class product becomes 29.1171875.
It is second that content distribution product cost, which is shared to the number of servers of third class product, in third time cost sharing
The clothes of the number of servers of content distribution product i.e. 0.309375 and third class product before first time cost sharing after cost sharing
The ratio of the summation of device quantity of being engaged in and the number of servers of first kind product, the second class product, third class product, shared resource product
Example is the product of b3, i.e. 0.309375*0.125.
In third time cost sharing, content distribution product cost is shared is to the number of servers of third class product
0.038671875.The number of servers of third class product becomes 15.42734375.
It is second that content distribution product cost, which is shared to the number of servers of shared resource product, in third time cost sharing
The number of servers of content distribution product i.e. 0.309375 and shared resource product before first time cost sharing after secondary cost sharing
Number of servers and first kind product, the second class product, third class product, shared resource product number of servers summation
Ratio, that is, b4 product, i.e. 0.309375*0.125.
In third time cost sharing, content distribution product cost is shared is to the number of servers of shared resource product
0.038671875.The number of servers of shared resource product becomes 0.69609375.
After third time cost sharing, i.e. cost sharing parameter becomes the number of servers of first kind product three times
54.759375.I.e. cost sharing parameter becomes 29.1171875 to the number of servers of second class product three times.Third class product
I.e. cost sharing parameter becomes 15.42734375 to number of servers three times.The number of servers of shared 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, the 4th cost sharing can also be carried out.The 4th
In secondary cost sharing, can by pre-set product, such as the second class product third time share after number of servers share and be given to
Specified platform.It is server count of the pre-set product after sharing for the third time that each specified platform, which shares number of servers,
Measure the product of default cost sharing ratio corresponding with the platform.
Referring to FIG. 5, it illustrates the structural schematic diagrams according to one embodiment of the information acquisition device of the application.Letter
Ceasing acquisition device 500 includes: statistic unit 501, computing unit 502.Wherein, statistic unit 501 is configured to count multiple flat
The consumption of resource in platform in each platform operational process, multiple platforms include: that public resource platform, content distribution are flat
Platform, shared resource platform, wherein public resource platform provides common data access clothes for other platforms into multiple platforms
Business, content distribution platform for into multiple platforms other platforms provide content distribution service, shared resource platform be used for
Partial flats in other platforms provide shared data access service;Computing unit 502 is configured to based on consumption and presets
Ratio calculates separately the actual consumption amount of the resource of each platform in multiple platforms, preset ratio instruction request common data
The service of access, content distribution service, shared data access the platform request service serviced and the platform of caused offer service
Resource consumption and it is all request common datas access services, content distribution service, shared data access service platforms
The ratio of the sum of consumption of resource of platform of service is provided caused by request service.
In some optional implementations of the present embodiment, shared resource platform includes: for providing architecture clothes
The base platform of business.
In some optional implementations of the present embodiment, resource include: server, connection line, server rack,
Network bandwidth.
In some optional implementations of the present embodiment, computing unit 502 includes: that the first cost sharing parameter calculates
Subelement (not shown) is configured to when resource is server, a cost sharing parameter of computing platform, once at one's duty
Spreading out parameter is the sum of the first cost sharing quantity and the second cost sharing quantity, and the first cost sharing quantity is the server of platform
Quantity after the summation of the number of servers of the platform in multiple platforms in addition to public resource platform and content distribution platform with
The product of the number of servers of public resource platform, the second cost sharing quantity are that the corresponding preset content of platform distributes cost sharing
The product of the number of servers of ratio and content distribution platform;Second cost sharing parameter calculation subunit (not shown), configuration are used
In the secondary cost sharing parameter of computing platform, secondary cost sharing parameter is a cost sharing parameter and third cost sharing
The sum of quantity, third cost sharing quantity are the corresponding default shared resource cost sharing ratio of platform and shared resource platform
The product of number of servers;Third cost sharing parameter calculation subunit (not shown), is configured to the cost three times of computing platform
Share parameter, cost sharing parameter is secondary cost sharing parameter and the 4th cost sharing quantity and the 5th cost sharing number three times
The sum of amount, the 4th cost sharing quantity are that the number of servers of platform is removed in multiple platforms except public resource platform and content distribution
After the summation of the number of servers of platform except the server of platform with the product of the number of servers of public resource platform;5th
Cost sharing quantity is the number of servers of platform except the service for removing public resource platform and content distribution platform in multiple platforms
After the summation of the number of servers of platform except device with the product of the number of servers of content distribution platform;Configuration unit (is not shown
Out), it is configured to using cost sharing parameter three times as the actual consumption amount of the resource of platform.
Fig. 6 shows the structural representation for being suitable for the computer system for the information acquisition device for being used to realize the embodiment of the present application
Figure.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM603, also it is stored with system 600 and operates 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。
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 609, and/or from removable
Medium 611 is unloaded to be mounted.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong
The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer
The combination of order is realized.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;It is also possible to
Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when one or more of programs are executed by an equipment, so that the equipment: statistics
The consumption of resource in multiple platforms in each platform operational process, the multiple platform includes: public resource platform, interior
Hold distribution platform, shared resource platform, wherein the public resource platform provides public for other platforms into multiple platforms
Data access service altogether, content distribution platform provides content distribution service for other platforms into multiple platforms, described total
It enjoys resource platform and provides shared data access service for the Partial flats into other described platforms;Based on the consumption and
Preset ratio calculates separately the actual consumption amount of the resource of each platform in multiple platforms, the preset ratio instruction request
Common data access service, content distribution service, shared data access service platform request service and caused offer institute
State consumption and all requests common data access service, content distribution service, shared number of the resource of the platform of service
The ratio of the sum of consumption of resource of platform of the service is provided caused by the platform request service according to access service.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (8)
1. a kind of information acquisition method, which is characterized in that the described method includes:
The consumption of the resource in multiple platforms in each platform operational process is counted, the multiple platform includes: public money
Source platform, content distribution platform, shared resource platform, wherein the public resource platform is used for other into multiple platforms
Platform provides common data access service, and content distribution platform provides content distribution clothes for other platforms into multiple platforms
Business, the shared resource platform provide shared data access service for the Partial flats into other described platforms;
Based on the consumption and preset ratio, the actual consumption amount of the resource of each platform in multiple platforms is calculated separately,
The platform request of the preset ratio instruction request common data access service, content distribution service, shared data access service
The consumption of the resource of the platform of service and the caused offer service and all request common datas access service, content
The consumption of the resource of the platform of the service is provided caused by the platform request service that distribution service, shared data access service
The ratio of the sum of amount;
Wherein, when carrying out cost sharing, according to the number of servers and server of platform total quantity ratio to public money
The cost of source platform carries out cost sharing, carries out according to cost of the preset content distribution cost sharing ratio to content distribution platform
Cost sharing carries out cost sharing according to cost of the default shared resource cost sharing ratio to shared resource platform.
2. the method according to claim 1, wherein the shared resource platform includes: for providing foundation frame
The base platform of structure service.
3. according to the method described in claim 2, it is characterized in that, the resource includes: server, connection line, server
Rack, network bandwidth.
4. according to the method described in claim 3, it is characterized in that, the resource is server;And
Based on the consumption and preset ratio, the actual consumption amount packet of the resource of each platform in multiple platforms is calculated separately
It includes:
Calculate a cost sharing parameter of the platform, a cost sharing parameter is the first cost sharing quantity and the
The sum of two cost sharing quantity, the first cost sharing quantity are that the number of servers of the platform is public except removing in multiple platforms
Server after the summation of the number of servers of platform except total resource platform and content distribution platform with public resource platform
The product of quantity, the second cost sharing quantity are that the corresponding preset content of the platform distributes cost sharing ratio and content point
Send out the product of the number of servers of platform;
The secondary cost sharing parameter of the platform is calculated, the secondary cost sharing parameter is a cost sharing parameter
The sum of with third cost sharing quantity, the third cost sharing quantity is the corresponding default shared resource of the platform into one's duty
The product of booth ratio and the number of servers of shared resource platform;
The cost sharing parameter three times of the platform is calculated, the parameter of cost sharing three times is the secondary cost sharing parameter
The sum of with the 4th cost sharing quantity and the 5th cost sharing quantity, the 4th cost sharing quantity is the service of the platform
Device quantity is except the number of servers of the platform in multiple platforms in addition to public resource platform and the server of content distribution platform
Summation after product with the number of servers of public resource platform;The 5th cost sharing quantity is the server of the platform
Quantity is except the number of servers of the platform in multiple platforms in addition to public resource platform and the server of content distribution platform
After summation with the product of the number of servers of content distribution platform;
Using the parameter of cost sharing three times as the actual consumption amount of the resource of the platform.
5. a kind of information acquisition device, which is characterized in that described device includes:
Statistic unit is configured to count the consumption of the resource in multiple platforms in each platform operational process, described more
A platform includes: public resource platform, content distribution platform, shared resource platform, wherein the public resource platform be used for
Other platforms in multiple platforms provide common data access service, content distribution platform for into multiple platforms other are flat
Platform provides content distribution service, and the shared resource platform provides shared data access for the Partial flats into other platforms
Service;
Computing unit is configured to calculate separately each platform in multiple platforms based on the consumption and preset ratio
The actual consumption amount of resource, the preset ratio instruction request common data access service, content distribution service, shared data are visited
Ask that consumption and all requests of the resource of the platform of the platform request service of service and the caused offer service are public
The service is provided caused by the platform request service that data access service, content distribution service, shared data access service
The sum of the consumption of resource of platform ratio;
Wherein, when carrying out cost sharing, according to the number of servers and server of platform total quantity ratio to public money
The cost of source platform carries out cost sharing, carries out according to cost of the preset content distribution cost sharing ratio to content distribution platform
Cost sharing carries out cost sharing according to cost of the default shared resource cost sharing ratio to shared resource platform.
6. device according to claim 5, which is characterized in that the shared resource platform includes: for providing foundation frame
The base platform of structure service.
7. device according to claim 6, which is characterized in that the resource includes: server, connection line, server
Rack, network bandwidth.
8. device according to claim 7, which is characterized in that the computing unit includes:
First cost sharing parameter calculation subunit is configured to calculate the one of the platform when the resource is server
Secondary cost sharing parameter, a cost sharing parameter be the sum of the first cost sharing quantity and the second cost sharing quantity,
The first cost sharing quantity is that the number of servers of the platform is removed in multiple platforms except public resource platform and content point
Product after the summation of the number of servers of platform except hair platform with the number of servers of public resource platform, it is the second one-tenth described
Originally sharing quantity is the number of servers that the corresponding preset content of the platform distributes cost sharing ratio and content distribution platform
Product;
Second cost sharing parameter calculation subunit, is configured to calculate the secondary cost sharing parameter of the platform, and described two
Secondary cost sharing parameter is the sum of a cost sharing parameter and third cost sharing quantity, the third cost sharing number
Amount is the product of the number of servers of the corresponding default shared resource cost sharing ratio of the platform and shared resource platform;
Third cost sharing parameter calculation subunit, is configured to calculate the cost sharing parameter three times of the platform, and described three
Secondary cost sharing parameter is the sum of the secondary cost sharing parameter and the 4th cost sharing quantity and the 5th cost sharing quantity,
The 4th cost sharing quantity is that the number of servers of the platform is removed in multiple platforms except public resource platform and content point
Product after the summation of the number of servers of platform except the server of hair platform with the number of servers of public resource platform;Institute
The number of servers that the 5th cost sharing quantity is the platform is stated to remove in multiple platforms except public resource platform and content distribution
After the summation of the number of servers of platform except the server of platform with the product of the number of servers of content distribution platform;
Configuration unit is configured to using the parameter of cost sharing three times as the actual consumption amount of the resource of the platform.
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 CN106130757A (en) | 2016-11-16 |
CN106130757B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106130757B (en) * | 2016-06-15 | 2019-10-18 | 北京百度网讯科技有限公司 | Information acquisition method and device |
CN111400033B (en) * | 2020-03-03 | 2024-04-19 | 京东科技控股股份有限公司 | Platform resource cost allocation method and device, storage medium and computer equipment |
Citations (3)
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 |
CN106130757A (en) * | 2016-06-15 | 2016-11-16 | 北京百度网讯科技有限公司 | Information getting method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8904402B2 (en) * | 2012-05-30 | 2014-12-02 | Red Hat, Inc. | Controlling capacity in a multi-tenant platform-as-a-service environment in a cloud computing system |
-
2016
- 2016-06-15 CN CN201610425807.9A patent/CN106130757B/en active Active
Patent Citations (3)
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 |
CN106130757A (en) * | 2016-06-15 | 2016-11-16 | 北京百度网讯科技有限公司 | Information getting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106130757A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11126530B1 (en) | Systems and methods for IT intelligence and management based on container-level metering | |
Chaczko et al. | Availability and load balancing in cloud computing | |
CN105103506B (en) | For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing | |
CN108304250A (en) | Method and apparatus for the node for determining operation machine learning task | |
CN104536965B (en) | A kind of data query display systems under the conditions of big data and method | |
CN108737325A (en) | A kind of multi-tenant data partition method, apparatus and system | |
CN108829509A (en) | Distributed container cluster framework resources management method based on domestic CPU and operating system | |
US10057182B2 (en) | Method for providing development and deployment services using a cloud-based platform and devices thereof | |
US20190095245A1 (en) | System and Method for Apportioning Shared Computer Resources | |
CN109902919A (en) | Server assets management method, device, equipment and readable storage medium storing program for executing | |
CN110166507A (en) | More resource regulating methods and device | |
CN108255707A (en) | Development roles creation method, device, equipment and the storage medium of test case | |
CN106131055A (en) | Method and apparatus for batch operation authority | |
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 | |
CN106130757B (en) | Information acquisition method and device | |
CN103248636B (en) | The system and method downloaded offline | |
WO2016043780A1 (en) | Business resource modeling | |
CN106469091B (en) | For distributing the method and apparatus of available area | |
CN108228355A (en) | Task processing method and device, method for scheduling task and device | |
US7529185B2 (en) | Method, system and program product for determining bandwidth consumption across a multi-tiered computer environment | |
CN105930216A (en) | Automatic scheduling method and system for electronic signature system and server | |
CN110502486A (en) | Log processing method, device, electronic equipment and computer readable storage medium | |
CN110347654A (en) | A kind of method and apparatus of online cluster features | |
Rac et al. | Cost-aware service placement and scheduling in the Edge-Cloud Continuum |
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 |