CN109560940A - A kind of charging method and device of content distribution network CDN service - Google Patents

A kind of charging method and device of content distribution network CDN service Download PDF

Info

Publication number
CN109560940A
CN109560940A CN201811603285.2A CN201811603285A CN109560940A CN 109560940 A CN109560940 A CN 109560940A CN 201811603285 A CN201811603285 A CN 201811603285A CN 109560940 A CN109560940 A CN 109560940A
Authority
CN
China
Prior art keywords
domain name
state
storage system
amount
flow storage
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
CN201811603285.2A
Other languages
Chinese (zh)
Other versions
CN109560940B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201811603285.2A priority Critical patent/CN109560940B/en
Publication of CN109560940A publication Critical patent/CN109560940A/en
Application granted granted Critical
Publication of CN109560940B publication Critical patent/CN109560940B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The invention discloses a kind of charging method of content distribution network CDN service and devices.The described method includes: the domain name stored in the corresponding accounting request domain name of accounting request and domain name configuration system is matched, and therefrom find out the target accounting request domain name of the amount of having state after receiving accounting request;And then according to target accounting request domain name, metering data is inquired from domain name flow storage system, and calculated result is calculated according to metering data and is returned.So, since domain name configuration system does not store the domain name of immeasurable state, the only domain name of the amount of being stored with state, therefore, when the embodiment of the present invention can look only for the access data volume of the domain name of the amount of having state, so as to greatly promote the search efficiency of access data volume, and then shorten chargeable time, promotes the service quality of charge system.

Description

A kind of charging method and device of content distribution network CDN service
Technical field
The present invention relates to field of communication technology more particularly to the charging methods and dress of a kind of content distribution network CDN service It sets.
Background technique
With the fast development of Internet technology, related service Internet-based is continuously increased.Due to personal or medium and small Enterprise server admin, storage system, in terms of do not have management and the advisory group of profession, therefore major cloud Manufacturer releases one after another cloud service, and client only needs to pay close attention to the service content of oneself, for the capital construction of IT resource, plant maintenance, network The work such as optimization can give the cloud manufacturer of profession.For cloud manufacturer, it will usually use CDN accelerate service come for oneself Cloud service provides the related works such as the network optimization and service content distribution, and uses CDN that service is accelerated to can bring about relevant clothes Business expense.
Currently, usually first obtaining all domain names of client's configuration, so when cloud manufacturer accelerates service to carry out charging CDN Charging is carried out further according to each domain name and corresponding access data volume afterwards.The domain name of client's configuration may have up to a million, use Method in the prior art, cloud manufacturer need to inquire the corresponding access data volume of a domain names up to a million of client's configuration, so And the domain name being actually really accessed may only have tens of thousands of or so, this has resulted in the feelings that a large amount of inquiry has waste Condition, and then largely inquire and will lead to the problem of charge system operation is slow, and charging efficiency reduces.
Based on this, a kind of charging method of CDN service is needed at present, for solving the charging of CDN service in the prior art The problem of system operation is slow, and charging efficiency reduces.
Summary of the invention
The embodiment of the present invention provides the charging method and device of a kind of CDN service, to solve CDN service in the prior art The technical issues of charge system operation is slow, and charging efficiency reduces.The embodiment of the present invention provides a kind of content distributing network CDN clothes The charging method of business, which comprises
After receiving accounting request, by what is stored in the corresponding accounting request domain name of the accounting request and domain name configuration system Domain name is matched, and therefrom finds out the target accounting request domain name of the amount of having state;Domain name configuration system is for being stored with The domain name of amount state;
According to target accounting request domain name, metering data is inquired from domain name flow storage system;Domain name flow is deposited Storage system is for storing the corresponding metering data of domain name;
Calculated result is calculated according to the metering data and is returned.
In this way, since domain name configuration system does not store the domain name of immeasurable state, the only domain name of the amount of being stored with state, therefore, When the embodiment of the present invention can look only for the access data volume of the domain name of the amount of having state, so as to greatly promote access data The search efficiency of amount, and then shorten chargeable time, promote the service quality of charge system;Further, the embodiment of the present invention mentions The charge system of confession can provide service by automatic active and standby unified entrance and multiple devices simultaneously, improve charge system Availability;Further, the embodiment of the present invention can improve the processing capacity of charge system by increasing machine quantity, Dilatation is convenient and dilatation is at low cost.
In one possible implementation, the corresponding accounting request domain name of the accounting request and domain name are configured into system Before middle storage domain name is matched, the method also includes:
The domain name for comparing domain name flow storage system and domain name configuration system, will be only stored in domain name and matches The domain name identification set system and be not stored in domain name flow storage system is immeasurable state;
Domain name flow storage system will be stored in and domain name state is identified as nothing in domain name configuration system The domain name of amount state, by the mark amount of the being changed to state of the domain name of the immeasurable state.
In one possible implementation, the method also includes:
The domain name for having amount of access is stored to domain name flow storage system, the domain name of no amount of access is without storage.
In one possible implementation, domain name state is to compare domain name flow storage system and the domain The amount of having state, the mark of immeasurable state completed after name configuration system.
In one possible implementation, the accounting request further includes charging mode and/or charging category;
Calculated result is calculated according to the metering data, comprising:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or
Calculated result is calculated according to the metering data, the charging mode and the charging category.
In one possible implementation, domain name flow storage system carries out subregion, the dimension by certain dimension Degree includes one of domain name, time, region, province, operator or a variety of.
The embodiment of the present invention provides a kind of message accounting of content distribution network CDN service, and described device includes:
Matching unit, for after receiving accounting request, by the corresponding accounting request domain name of the accounting request and domain name The domain name stored in configuration system is matched, and therefrom finds out the target accounting request domain name of the amount of having state;Domain name is matched Set domain name of the system for the amount of being stored with state;
Query unit, for inquiring metering data from domain name flow storage system according to target accounting request domain name;Institute Domain name flow storage system is stated for storing the corresponding metering data of domain name;
Computing unit, for calculating calculated result according to the metering data and returning.
In one possible implementation, the matching unit is by the corresponding accounting request domain name of the accounting request Before storage domain name is matched in domain name configuration system, it is also used to:
The domain name for comparing domain name flow storage system and domain name configuration system, will be only stored in domain name and matches The domain name identification set system and be not stored in domain name flow storage system is immeasurable state;
Domain name flow storage system will be stored in and domain name state is identified as nothing in domain name configuration system The domain name of amount state, by the mark amount of the being changed to state of the domain name of the immeasurable state.
In one possible implementation, the matching unit is also used to:
The domain name for having amount of access is stored to domain name flow storage system, the domain name of no amount of access is without storage.
In one possible implementation, domain name state is to compare domain name flow storage system and the domain The amount of having state, the mark of immeasurable state completed after name configuration system.
In one possible implementation, the accounting request further includes charging mode and/or charging category;
The computing unit is specifically used for:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or
Calculated result is calculated according to the metering data, the charging mode and the charging category.
In one possible implementation, domain name flow storage system carries out subregion, the dimension by certain dimension Degree includes one of domain name, time, region, province, operator or a variety of.
The embodiment of the present invention provides a kind of charge system of content distribution network CDN service, and the charge system includes connecing Receive module, accounting module, domain name configuration system and domain name flow storage system;Domain name configures system and is used for the amount of being stored with shape The domain name of state, domain name flow storage system is for storing the corresponding metering data of domain name;
The receiving module, for receiving accounting request;
The accounting module, for will be stored in the corresponding accounting request domain name of the accounting request and domain name configuration system Domain name matched, and therefrom find out the target accounting request domain name of the amount of having state;And according to target accounting request domain name, from Metering data is inquired in domain name flow storage system;And calculated result is calculated according to the metering data and is returned.
In one possible implementation, the charge system further includes status indicator module;
The status indicator module, for comparing the domain of domain name flow storage system and domain name configuration system Name, will be only stored in domain name configuration system and be not stored in the domain name identification of domain name flow storage system is immeasurable shape State;And domain name flow storage system will be stored in and in domain name configuration system domain name state be identified as it is immeasurable The domain name of state, by the mark amount of the being changed to state of the domain name of the immeasurable state.
In one possible implementation, domain name flow storage system is specifically used for having the domain name of amount of access to deposit Storage, the domain name of no amount of access is without storage.
In one possible implementation, domain name state is to compare domain name flow storage system and the domain The amount of having state, the mark of immeasurable state completed after name configuration system.
In one possible implementation, the accounting request further includes charging mode and/or charging category;
The accounting module is specifically used for:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or
Calculated result is calculated according to the metering data, the charging mode and the charging category.
In one possible implementation, domain name flow storage system carries out subregion, the dimension by certain dimension Degree includes one of domain name, time, region, province, operator or a variety of.The embodiment of the present application also provides a kind of device, The device has the function of realizing the charging method of CDN service as described above.The function can be executed corresponding by hardware Software realization, in a kind of possible design, which includes: processor, transceiver and memory;The memory is for depositing Computer executed instructions are stored up, which is communicated for realizing the device with other communication entities, which deposits with this Reservoir is connected by the bus, and when the apparatus is operative, which executes the computer executed instructions of memory storage, So that the device executes the charging method of CDN service as described above.
The embodiment of the present invention also provides a kind of computer storage medium, stores software program in the storage medium, this is soft Part program realizes CDN described in above-mentioned various possible implementations when being read and executed by one or more processors The charging method of service.
The embodiment of the present invention also provides a kind of computer program product comprising instruction, when run on a computer, So that computer executes the charging method of CDN service described in above-mentioned various possible implementations.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced.
Fig. 1 is the schematic diagram for the system architecture that the embodiment of the present invention is applicable in;
Fig. 2 is a kind of structural schematic diagram of the charge system of CDN service provided in an embodiment of the present invention;
Fig. 3 is flow diagram corresponding to the charging method of CDN service provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram for the message accounting that the embodiment of the present invention also provides CDN service.
Specific embodiment
The application is specifically described with reference to the accompanying drawings of the specification, the concrete operation method in embodiment of the method can also To be applied in Installation practice.
Fig. 1 illustrates the applicable system architecture of the embodiment of the present invention, as shown in Figure 1, the system 100 may include Charge system 101, client 102 and multiple servers (such as server 1031, server 1032, server shown in Fig. 1 1033).Wherein, charge system 101 can be sent out to receive client by client 102 with client 102 by network connection The accounting request sent, and charge response message is returned to client 102;Meanwhile charge system 101 can also be with each service Device by network connection, such as charge system 101 shown in Fig. 1 can respectively with server 1031, server 1032, service Device 1033 is by network connection, so as to obtain user's access domain from server 1031, server 1032, server 1033 Name is the access data volume generated.
In the embodiment of the present invention, client can refer to that financial staff, the provider of domain name service, administrator etc. have the right to inquire The personnel of CDN service charging;User can refer to the personnel that domain name access is carried out by network.
Further, client can be a plurality of types of equipment, such as laptop, smart phone, tablet computer, Smart television etc..
Based on system architecture shown in FIG. 1, as shown in Fig. 2, being a kind of charging of CDN service provided in an embodiment of the present invention The structural schematic diagram of system.The charge system 101 may include receiving module 201, status indicator module 202, domain name configuration system System 203, domain name flow storage system 204 and accounting module 205.
Wherein, receiving module 201 can be used for receiving the accounting request of CDN service.The accounting request of CDN service can be Refer to that the request sent when the related personnel such as financial staff, the provider of domain name service, administrator inquire the expense of CDN service disappears Breath.
Further, accounting request can also include charging mode and/or charging category, in this way, being convenient for accounting module 202 Charging is more accurately carried out according to specific charging mode and/or charging category.
In the embodiment of the present invention, charging mode may include the first peak value charging, peak value charging, average value charging etc.;Meter Expense classification may include bandwidth charging, charge on traffic, number of request charging, IP amount of access charging etc., specifically without limitation.
Status indicator module 202 can compare the domain name of domain name flow storage system 204 and domain name configuration system 203, will Being only stored in domain name configuration system 203 and being not stored in the domain name identification of domain name flow storage system 204 is immeasurable state;Into one Step ground, status indicator module 202 can also will be stored in domain name flow storage system 204 and configure domain in system 203 in domain name Name state is identified as the domain name of immeasurable state, by the mark amount of the being changed to state of the domain name of immeasurable state.Wherein, domain name shape State can configure the amount of having state, the immeasurable state completed after system 203 to compare domain name flow storage system 204 and domain name Mark.
Further, status indicator module 202 can mark domain in domain name configuration system 203 periodically or in real time The domain name state of name can be improved charging in this way, passing through the tag field name state periodically or in real time of status indicator module 202 Accuracy of the module 205 in metering period (or in time delay range).
Domain name configuration system 203 can be used for the domain name of the amount of being stored with state, and specifically, domain name configures system 203 can Accelerate domain name configuration management to be responsible for accepting the CDN of client, the domain name for the client for needing CDN to accelerate is configured to various dimensions Under charging order, wherein the charging order of various dimensions may include the dimension by charging mode, the dimension by charging category Deng.
Domain name flow storage system 204 can be used for storing the corresponding access of accessed domain name in domain name access request Data volume, such as flow access data volume, number of request access data volume, bandwidth access data volume, and not visited domain name will not It stores into domain name flow storage system 204.Further, domain name flow storage system 204 carries out subregion by certain dimension, In, dimension may include one of domain name, time, region, province, operator or a variety of, specifically without limitation.
Further, domain name flow storage system 204 can will have the domain name of amount of access to store, no amount of access Domain name is without storage.
Specifically, by taking system architecture shown in fig. 1 as an example, user can send domain name access request, browsing to browser Device is by calling the dns resolution server in CDN to parse it, the determining accessed corresponding IP address of domain name, in this way, User can send request to the corresponding server of the IP address by browser, to obtain content.In this course, it uses Family access certain domain name can accordingly generate access data volume, and domain name flow storage system 204 then can store amount of access Domain name.
For example, as shown in table 1, one kind of the corresponding relationship of user and domain name that system 203 stores is configured for domain name Example.Wherein, user's first corresponds to domain name A, domain name B and domain name C;User's second corresponds to domain name D, domain name E and domain name F.
Table 1: domain name configures a kind of example of the user of system storage and the corresponding relationship of domain name
Assuming that the domain name of the storage in domain name flow storage system 203 has domain name A, domain name C and domain name D, then status indicator The domain name state that module 202 can configure the domain name that system 203 stores to domain name is marked.As shown in table 2, it is configured for domain name A kind of example of the domain name state for the domain name that system 203 stores, i.e., be marked the domain name state of the domain name in table 1 above, Wherein, user's first corresponding domain name A and domain name C has been marked as amount of access, and the corresponding domain name D of user's second has been marked as access Amount.
A kind of table 2: example of the domain name state of the domain name of domain name configuration module storage
Accounting module 205 is responsible for the real-time queries such as financial staff, client and relevant people CDN and accelerates service charging value and domain name Time granularity flow and bandwidth value export, relevant people etc. is configured from domain name first when using charge system real-time query charging value is System 203 comes out the associated amount of the having domain name lookup of customer order, then inquires the amount of having domain name to domain name flow storage system 204 Metering data calculates calculated result further according to metering data and returns.
Further, according to the difference for the content for including in accounting request, the mode that accounting module 205 carries out charging can also With difference, it can specifically be divided into following three kinds of modes:
Mode one calculates calculated result according to metering data and charging mode.
Mode two calculates calculated result according to metering data and charging category.
Mode three calculates calculated result according to metering data, charging mode and charging category.
In the embodiment of the present invention, accounting module 205 can receive related personnel, and (such as financial staff's or domain name service is mentioned For quotient or administrator) inquiry CDN service (including inquiry CDN accelerates service charging value, nslookup time granularity flow and band Width values) expense when the request message that sends, then, accounting module 202 can will be used from domain name configuration module 204 to charging The corresponding and target domain name with amount of access of the mark at family is found out, then searches aiming field from data memory module 203 The access data volume (including flow, number of request, bandwidth value etc.) of name, finally can be according to dimension (such as charging class of charging order Not, charging mode etc.) combine access data volume to carry out charging.In this way, since domain name configuration system does not store the domain of immeasurable state Name, the only domain name of the amount of being stored with state, therefore, the embodiment of the present invention can look only for the access data volume of the domain name of the amount of having state When, so as to greatly promote the search efficiency of access data volume, and then shorten chargeable time, promotes the service of charge system Quality;Further, charge system provided in an embodiment of the present invention can be set by automatic active and standby unified entrance and more It is standby to provide service simultaneously, improve the availability of charge system;Further, the embodiment of the present invention can be by increasing number of machines It measures to improve the processing capacity of charge system, dilatation is convenient and dilatation is at low cost.
Based on same inventive concept, the embodiment of the present invention also provides a kind of charging method of CDN service, and this method can be with Applied to charge system described above.As shown in figure 3, right for the charging method of CDN service provided in an embodiment of the present invention The flow diagram answered, specifically comprises the following steps:
Step 301, it after receiving accounting request, will be deposited in the corresponding accounting request domain name of accounting request and domain name configuration system The domain name of storage is matched, and therefrom finds out the target accounting request domain name of the amount of having state.
Step 302, according to target accounting request domain name, metering data is inquired from domain name flow storage system.
Step 303, calculated result is calculated according to metering data and returned.
In this way, since domain name configuration system does not store the domain name of immeasurable state, the only domain name of the amount of being stored with state, therefore, When the embodiment of the present invention can look only for the access data volume of the domain name of the amount of having state, so as to greatly promote access data The search efficiency of amount, and then shorten chargeable time, promote the service quality of charge system.
Based on same inventive concept, the embodiment of the present invention also provides a kind of message accounting of CDN service, as shown in figure 4, The device includes matching unit 401, query unit 402, computing unit 403;Wherein,
Matching unit 401, for after receiving accounting request, by the corresponding accounting request domain name of the accounting request and domain The domain name stored in name configuration system is matched, and therefrom finds out the target accounting request domain name of the amount of having state;Domain name Configuration system is used for the domain name of the amount of being stored with state;
Query unit 402, for inquiring charging number from domain name flow storage system according to target accounting request domain name According to;Domain name flow storage system is for storing the corresponding metering data of domain name;
Computing unit 403, for calculating calculated result according to the metering data and returning.
In one possible implementation, the matching unit 401 is by the corresponding accounting request of the accounting request Domain name with stored in domain name configuration system before domain name matched, be also used to:
The domain name for comparing domain name flow storage system and domain name configuration system, will be only stored in domain name and matches The domain name identification set system and be not stored in domain name flow storage system is immeasurable state;
Domain name flow storage system will be stored in and domain name state is identified as nothing in domain name configuration system The domain name of amount state, by the mark amount of the being changed to state of the domain name of the immeasurable state.
In one possible implementation, the matching unit 401 is also used to:
The domain name for having amount of access is stored to domain name flow storage system, the domain name of no amount of access is without storage.
In one possible implementation, domain name state is to compare domain name flow storage system and the domain The amount of having state, the mark of immeasurable state completed after name configuration system.
In one possible implementation, the accounting request further includes charging mode and/or charging category;
The computing unit 403 is specifically used for:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or
Calculated result is calculated according to the metering data, the charging mode and the charging category.
In one possible implementation, domain name flow storage system carries out subregion, the dimension by certain dimension Degree includes one of domain name, time, region, province, operator or a variety of.
The embodiment of the present application also provides a kind of device, which has the charging for realizing CDN service as described above The function of method.The function can execute corresponding software realization by hardware, in a kind of possible design, the device packet It includes: processor, transceiver and memory;The memory is for storing computer executed instructions, and the transceiver is for realizing the dress It sets and is communicated with other communication entities, which is connect with the memory by the bus, when the apparatus is operative, at this Reason device executes the computer executed instructions of memory storage, so that the device executes the meter of CDN service as described above Charging method.
The embodiment of the present invention also provides a kind of computer storage medium, stores software program in the storage medium, this is soft Part program realizes CDN described in above-mentioned various possible implementations when being read and executed by one or more processors The charging method of service.
The embodiment of the present invention also provides a kind of computer program product comprising instruction, when run on a computer, So that computer executes the charging method of CDN service described in above-mentioned various possible implementations.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (18)

1. a kind of charging method of content distribution network CDN service, which is characterized in that the described method includes:
After receiving accounting request, the domain name that will store in the corresponding accounting request domain name of the accounting request and domain name configuration system It is matched, and therefrom finds out the target accounting request domain name of the amount of having state;Domain name configures system and is used for the amount of being stored with shape The domain name of state;
According to target accounting request domain name, metering data is inquired from domain name flow storage system;Domain name flow storage system System is for storing the corresponding metering data of domain name;
Calculated result is calculated according to the metering data and is returned.
2. the method according to claim 1, wherein by the corresponding accounting request domain name of the accounting request and domain Before storage domain name is matched in name configuration system, the method also includes:
The domain name for comparing domain name flow storage system and domain name configuration system will be only stored in domain name configuration system The domain name identification for uniting and being not stored in domain name flow storage system is immeasurable state;
Domain name flow storage system will be stored in and domain name state is identified as immeasurable shape in domain name configuration system The domain name of state, by the mark amount of the being changed to state of the domain name of the immeasurable state.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The domain name for having amount of access is stored to domain name flow storage system, the domain name of no amount of access is without storage.
4. method described in any one of claim 1 to 3, which is characterized in that domain name state is to compare the domain The amount of having state, the mark of immeasurable state completed after name flow storage system and domain name configuration system.
5. method described in any one of claim 1 to 3, which is characterized in that the accounting request further includes charged party Formula and/or charging category;
Calculated result is calculated according to the metering data, comprising:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or,
Calculated result is calculated according to the metering data, the charging mode and the charging category.
6. the method according to claim 1, wherein domain name flow storage system is divided by certain dimension Area, the dimension include one of domain name, time, region, province, operator or a variety of.
7. a kind of message accounting of content distribution network CDN service, which is characterized in that described device includes:
Matching unit, for after receiving accounting request, the corresponding accounting request domain name of the accounting request and domain name to be configured The domain name stored in system is matched, and therefrom finds out the target accounting request domain name of the amount of having state;Domain name configuration system The domain name united for the amount of being stored with state;
Query unit, for inquiring metering data from domain name flow storage system according to target accounting request domain name;The domain Name flow storage system is for storing the corresponding metering data of domain name;
Computing unit, for calculating calculated result according to the metering data and returning.
8. device according to claim 7, which is characterized in that the matching unit is by the corresponding meter of the accounting request Expense request domain name in domain name configuration system storage domain name matched before, be also used to:
The domain name for comparing domain name flow storage system and domain name configuration system will be only stored in domain name configuration system The domain name identification for uniting and being not stored in domain name flow storage system is immeasurable state;
Domain name flow storage system will be stored in and domain name state is identified as immeasurable shape in domain name configuration system The domain name of state, by the mark amount of the being changed to state of the domain name of the immeasurable state.
9. device according to claim 8, which is characterized in that the matching unit is also used to:
The domain name for having amount of access is stored to domain name flow storage system, the domain name of no amount of access is without storage.
10. the device according to any one of claim 7~9, which is characterized in that domain name state is to compare the domain The amount of having state, the mark of immeasurable state completed after name flow storage system and domain name configuration system.
11. the device according to any one of claim 7~9, which is characterized in that the accounting request further includes charged party Formula and/or charging category;
The computing unit is specifically used for:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or,
Calculated result is calculated according to the metering data, the charging mode and the charging category.
12. device according to claim 7, which is characterized in that domain name flow storage system is carried out by certain dimension Subregion, the dimension include one of domain name, time, region, province, operator or a variety of.
13. a kind of charge system of content distribution network CDN service, which is characterized in that the charge system include receiving module, Accounting module, domain name configuration system and domain name flow storage system;Domain name configures the domain that system is used for the amount of being stored with state Name, domain name flow storage system is for storing the corresponding metering data of domain name;
The receiving module, for receiving accounting request;
The accounting module, the domain for will be stored in the corresponding accounting request domain name of the accounting request and domain name configuration system Name is matched, and therefrom finds out the target accounting request domain name of the amount of having state;And according to target accounting request domain name, from domain name Metering data is inquired in flow storage system;And calculated result is calculated according to the metering data and is returned.
14. system according to claim 13, which is characterized in that the charge system further includes status indicator module;
The status indicator module will for comparing the domain name of domain name flow storage system and domain name configuration system Being only stored in domain name configuration system and being not stored in the domain name identification of domain name flow storage system is immeasurable state;With And domain name flow storage system will be stored in and domain name state is identified as immeasurable state in domain name configuration system Domain name, by the mark amount of the being changed to state of the domain name of the immeasurable state.
15. system according to claim 14, which is characterized in that domain name flow storage system is specifically used for having visit The domain name for the amount of asking stores, and the domain name of no amount of access is without storage.
16. system described in any one of 3~15 according to claim 1, which is characterized in that domain name state is described in comparison The amount of having state, the mark of immeasurable state completed after domain name flow storage system and domain name configuration system.
17. system described in any one of 3~15 according to claim 1, which is characterized in that the accounting request further includes charging Mode and/or charging category;
The accounting module is specifically used for:
Calculated result is calculated according to the metering data and the charging mode;
Or
Calculated result is calculated according to the metering data and the charging category;
Or,
Calculated result is calculated according to the metering data, the charging mode and the charging category.
18. system according to claim 13, which is characterized in that domain name flow storage system is carried out by certain dimension Subregion, the dimension include one of domain name, time, region, province, operator or a variety of.
CN201811603285.2A 2018-12-26 2018-12-26 Charging method and device for content delivery network CDN service Expired - Fee Related CN109560940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811603285.2A CN109560940B (en) 2018-12-26 2018-12-26 Charging method and device for content delivery network CDN service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811603285.2A CN109560940B (en) 2018-12-26 2018-12-26 Charging method and device for content delivery network CDN service

Publications (2)

Publication Number Publication Date
CN109560940A true CN109560940A (en) 2019-04-02
CN109560940B CN109560940B (en) 2021-08-27

Family

ID=65871293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811603285.2A Expired - Fee Related CN109560940B (en) 2018-12-26 2018-12-26 Charging method and device for content delivery network CDN service

Country Status (1)

Country Link
CN (1) CN109560940B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073445A (en) * 2020-11-16 2020-12-11 浙江山迅网络科技有限公司 Hybrid port traffic scheduling method and device, readable storage medium and electronic equipment
CN112887446A (en) * 2021-01-22 2021-06-01 北京金山云网络技术有限公司 Domain name processing method and device and domain name server
CN112887448A (en) * 2021-01-22 2021-06-01 北京金山云网络技术有限公司 Domain name registration method and device and domain name server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431421A (en) * 2008-11-29 2009-05-13 华为技术有限公司 On-line service control method, content charging network element and charging system
CN101588249A (en) * 2008-05-20 2009-11-25 华为技术有限公司 Charging method, charging system and charging analysis and control device
KR20110012708A (en) * 2009-07-31 2011-02-09 에스케이 텔레콤주식회사 Packet billing system and method
CN103095470A (en) * 2011-10-27 2013-05-08 阿尔卡特朗讯 On-line charging method toward visitor user of application content provider
US20170366501A1 (en) * 2014-06-16 2017-12-21 Amazon Technologies, Inc. Domain name service information propagation
CN107959576A (en) * 2016-10-18 2018-04-24 中国电信股份有限公司 Charge on traffic method and system and buffer storage

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588249A (en) * 2008-05-20 2009-11-25 华为技术有限公司 Charging method, charging system and charging analysis and control device
CN101431421A (en) * 2008-11-29 2009-05-13 华为技术有限公司 On-line service control method, content charging network element and charging system
KR20110012708A (en) * 2009-07-31 2011-02-09 에스케이 텔레콤주식회사 Packet billing system and method
CN103095470A (en) * 2011-10-27 2013-05-08 阿尔卡特朗讯 On-line charging method toward visitor user of application content provider
US20170366501A1 (en) * 2014-06-16 2017-12-21 Amazon Technologies, Inc. Domain name service information propagation
CN107959576A (en) * 2016-10-18 2018-04-24 中国电信股份有限公司 Charge on traffic method and system and buffer storage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LAI JDFFREY,FU QIANG,MOORS TIM: ""Using SDN and NFV to enhance request rerouting in ISP-CDN collaborations"", 《COMPUTER NETWORKS》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073445A (en) * 2020-11-16 2020-12-11 浙江山迅网络科技有限公司 Hybrid port traffic scheduling method and device, readable storage medium and electronic equipment
CN112073445B (en) * 2020-11-16 2021-01-29 浙江山迅网络科技有限公司 Hybrid port traffic scheduling method and device, readable storage medium and electronic equipment
CN112887446A (en) * 2021-01-22 2021-06-01 北京金山云网络技术有限公司 Domain name processing method and device and domain name server
CN112887448A (en) * 2021-01-22 2021-06-01 北京金山云网络技术有限公司 Domain name registration method and device and domain name server
CN112887448B (en) * 2021-01-22 2023-04-07 北京金山云网络技术有限公司 Domain name registration method and device and domain name server

Also Published As

Publication number Publication date
CN109560940B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
KR102254809B1 (en) Distributed computing resources sharing system and computing apparatus thereof providing reward based on block chain
CN104954401B (en) traffic scheduling method and device
CN109560940A (en) A kind of charging method and device of content distribution network CDN service
JP2006511884A5 (en)
CN108427684A (en) Data query method, apparatus and computing device
CN107122431A (en) A kind of real-time calculating platform and the method for computing data based on real-time calculating platform
CN106462461A (en) System, device and methods for billing user for their consumption of mobile broadband services and virtualized cloud resources
CN110570179B (en) Order display method, device, equipment and storage medium
CN112422299B (en) Method and device for analyzing public cloud charging data and computer readable storage medium
CN106407207A (en) Real-time added data updating method and apparatus
CN110599275A (en) Data processing method and device based on block chain network and storage medium
JP2015535360A (en) Method and system for distributing data streams
CN107123063A (en) Optimize the system and method for labour force distributing relation using mobile terminal
CN110489238A (en) Nodal test method, apparatus, electronic equipment and storage medium
Livadariu et al. On IPv4 transfer markets: Analyzing reported transfers and inferring transfers in the wild
CN108573029A (en) A kind of method, apparatus and storage medium obtaining network access relational data
CN107835132B (en) Method and device for tracking flow source
Jain et al. Combinatorial auction based multi-task resource allocation in fog environment using blockchain and smart contracts
US10524028B1 (en) Validating live metering service in a cloud infrastructure
US20120221626A1 (en) Systems and methods for establishing upload channels to a cloud data distribution service
CN105791247B (en) A kind of flow system pair service implementation method and relevant device and system
US11210682B2 (en) Method of correlating bid price to intrinsic value in a survey platform
CN108900314A (en) A kind of the number of request charging method and device of network acceleration service
CN111127224B (en) Information processing method, information processing device, electronic equipment and storage medium
CN110599150B (en) Order display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210827