CN1567292A - Dosage statistic module and dosage statistic method - Google Patents

Dosage statistic module and dosage statistic method Download PDF

Info

Publication number
CN1567292A
CN1567292A CN 03146633 CN03146633A CN1567292A CN 1567292 A CN1567292 A CN 1567292A CN 03146633 CN03146633 CN 03146633 CN 03146633 A CN03146633 A CN 03146633A CN 1567292 A CN1567292 A CN 1567292A
Authority
CN
China
Prior art keywords
consumption
module
message
statistical
consumption statistical
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
CN 03146633
Other languages
Chinese (zh)
Other versions
CN100365617C (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031466338A priority Critical patent/CN100365617C/en
Publication of CN1567292A publication Critical patent/CN1567292A/en
Application granted granted Critical
Publication of CN100365617C publication Critical patent/CN100365617C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

This invention discloses a kind of volume statistic module, which connects with the peripheral server and database. The module comprises: peripheral server protocol interface module, which converts the information that from peripheral server to volume statistic module to the fixed format information, and sends the converted information to the volume statistic module; the volume statistic processing module, which collects volume according to the information from peripheral server protocol interface, and sends the result to the database interface module; the database interface module, which converts the result that from volume statistic module to the database recognizable statistic result and transfers them to database. The invention also provides a kind of volume statistic method. This plan enables the CDN and MDN to collect volume real time and doesn't impact the concurrent processing capacity of peripheral server and system security.

Description

A kind of consumption statistical module and consumption statistical method
Technical field
The present invention relates to content-delivery network (CDN) and Media Delivery Network (MDN) field, relate to or rather a kind of content operator information in the CDN/MDN system, content information, user profile etc. are carried out the consumption statistical module of consumption statistics and realized the method for consumption statistics.
Background technology
In the CDN/MDN system, CDN/MDN network of network operator being provided and the content operator of CDN/MDN content is provided often is not an operator, therefore need the CDN/MDN system that the operation situation of content service in the CDN/MDN network is added up accurately, so that both sides carry out business accounting.
Therefore, the CDN/MDN system need provide a kind of statistical method, and the operating positions in the CDN/MDN network such as content operator's informaiton, content information, user profile are carried out statistic record.Present statistical method has two kinds, a kind of is the method for the Edge Server employing daily record of work of CDN/MDN system, the service scenario of book server to the user is recorded in the daily record, and the CDN/MDN system regularly reads daily record of work and carries out the consumption statistics from Edge Server.The shortcoming of this method is: the consumption statistics of Edge Server is kept in the daily record of work, and the CDN/MDN system needs to read from Edge Server termly, the analytical work daily record, and can not add up consumption information in real time.
Another kind of statistical method is the Edge Server direct control database of CDN/MDN system, and the service scenario that this Edge Server is provided the user is recorded in the database, is used for the consumption statistics of CDN/MDN system.The shortcoming of this method is: Edge Server direct control database, not only can influence the concurrent service ability of Edge Server, and can open the Edge Server of giving the fire wall outside and the security that reduces system according to bank interface by factor because of the database action need takies the plenty of time.
Therefore, at present be unfavorable for the real-time statistics of CDN/MDN system to consumption to what the method for information consumptions such as content operator's informaiton, content information, user profile statistics had, the meeting that has is because Edge Server influences the concurrent service ability of Edge Server to the direct control of database, and reduces the security of system.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of consumption statistical module and consumption statistical method of the content operator information in the CDN/MDN system, content information, user profile etc. being carried out the consumption statistics, make the CDN/MDN system carry out the consumption statistics to operator content, user content in real time, and can not reduce the concurrent processing ability of Edge Server and the security of system.
Consumption statistical module of the present invention, this consumption statistical module is connected with database with Edge Server, and this module comprises:
The Edge Server protocol interface module, the message conversion that Edge Server is sent to the consumption statistical module is a fixed format information, and the message after will changing sends to the consumption statistical module;
Consumption statistical treatment module is carried out the consumption statistics according to the message that the Edge Server protocol interface module is sent, and statistics is sent to database interface module;
Database interface module, the statistics that the consumption statistical module is sent is converted to the discernible statistics message of database and sends to database.
Described consumption statistical module further comprises system module, is responsible for the maintenance and the monitoring of all modules in the consumption statistical module, and registers each Edge Server protocol interface module.
The message that described Edge Server sends to the consumption statistical module is that the consumption that comprises the consumption statistical information is gathered message and finished statistical message.
Described consumption statistical information comprises content operator information, content information and user profile.
Consumption statistical method of the present invention, this method may further comprise the steps:
A., the consumption statistical module is set;
B. Edge Server sends consumption statistical dependence message, and the consumption statistical module carries out the consumption statistics according to the consumption statistical dependence message of Edge Server, and the consumption statistics is sent to database.
Among the described step a, described consumption statistical dependence message comprises the consumption collection message of consumption statistical information and finishes statistical message.
The consumption statistical information that described consumption is gathered in the message comprises content operator information, content information and user profile.
Among the described step b, the consumption statistical module is gathered the message from consumption and is obtained the consumption statistical information, and carries out the consumption statistics, after the consumption statistical module receives and finishes statistical message, finish the consumption statistics, statistics is converted to the discernible statistics message of database sends to database.
Described consumption statistical module is arranged in the central module of CDN/MDN system.
Among the described step a, more than one consumption statistical module is set, described consumption statistical module is with load balancing and/or active/standby mode operation.
The consumption statistical module that the present invention program is connected with database by setting in the centring system of CDN/MDN system and Edge Server, and utilize this consumption statistical module that the content operator information in the CDN/MDN system, content information, user profile etc. are carried out the consumption statistics in real time, make system when realizing that consumption is added up in real time, can not influence the concurrent service ability of Edge Server, also can not have influence on the security of system, and be convenient to information quantitative statistics such as content operator's informaiton, content information, user profile.
Description of drawings
Fig. 1 is the present invention program increases the consumption statistical module in the CDN/MDN system a synoptic diagram;
Fig. 2 is the structural representation of the present invention program's consumption statistical module;
Fig. 3 realizes the process flow diagram of consumption statistics for the present invention program;
Fig. 4 realizes the synoptic diagram of the active and standby load balancing of consumption statistical module for the present invention program.
Embodiment
Below in conjunction with drawings and the specific embodiments the present invention program is described in further detail.
Referring to Fig. 1, the present invention program increases consumption statistical module 101 in the centring system of CDN/MDN system, this consumption statistical module 101 is connected with database 103 with Edge Server 102 in the system, realizes consumption statistics to information such as the content operator information in the CDN/MDN system, content information, user profile by the consumption statistical module.
At first need consumption statistical dependence message to be set for Edge Server, these related news comprise consumption collection message and finish statistical message, consumption is gathered in the message and is comprised the consumption statistical information, and this consumption statistical information can be information such as content operator information, content information, user profile.When Edge Server provides service for the user, send this consumption to the consumption statistical module and gather message, and when finishing service, finish statistical message to the transmission of consumption statistical module.
Referring to Fig. 2, comprise Edge Server protocol interface module 201, consumption statistical treatment module 202, database interface module 203 and the system module 204 of corresponding different edges server protocol in the consumption statistical module 101.Edge Server protocol interface module 201 is connected with Edge Server 102, the consumption of Edge Server 102 is gathered message and finished statistical message be converted to fixed format information, and the message after will changing sends to consumption statistical treatment module 202.When Edge Server protocol interface module 201 is set, if all 102 a kind of agreements of correspondence of Edge Server in the system, then only need Edge Server protocol interface module 201 be set to planting agreement, if corresponding more than one the agreement of the Edge Server in the system 102, then need corresponding every kind of agreement that Edge Server protocol interface module 201 is set, the Edge Server protocol interface module that the Edge Server of corresponding same protocol is corresponding with this kind agreement connects.Consumption statistical treatment module 202 receives after consumption that Edge Server protocol interface module 201 sends gathers message, obtains information such as content operator information, content information, user profile from this message, and beginning consumption statistics; After receiving the end statistical message, finish the consumption statistics, and statistics is sent to database interface module 203.Database interface module 203 is converted to the discernible message of database with the statistics of receiving, and sends to database 103.System module 201 is responsible for the maintenance and the monitoring of whole consumption statistical module 101, and registers each Edge Server protocol interface module 201.
The flow process that realizes the consumption statistics by the consumption statistical module realizes the consumption statistics referring to Fig. 3 by following steps:
A, Edge Server are gathered message with the consumption of information such as content operator's informaiton, content information, user profile and are sent to corresponding Edge Server protocol interface module.
B, Edge Server protocol interface module are gathered the consumption collection message that message conversion is a set form with the consumption of receiving, and the collection of the consumption after will changing message sends to consumption statistical treatment module.
C, consumption statistical treatment module are obtained information such as content operator information, content information, user profile after receiving consumption collection message from this message, and begin to carry out the consumption statistics.
D, Edge Server will finish statistical message and send to the Edge Server protocol interface module.
E, Edge Server protocol interface module will finish the end statistical message that statistical message is converted to set form, and this message is sent to the consumption statistical module.
F, consumption statistical module finish statistics after receiving and finishing statistical message, and statistics is sent to database interface module.
G, database interface module send to database with the statistics of receiving.
Referring to Fig. 4, can also adopt a plurality of consumption statistical modules 101 among the present invention program, and these consumption statistical modules 101 are set to the form of active and standby load balancing, make system can adopt active/standby mode to carry out the consumption statistics.Certainly, also these consumption statistical modules 101 can be set to the form of load balancing, make system can take the mode of load balancing to carry out the consumption statistics, consumption statistical module 101 can also be set to active and standby load balancing mode, make system take the mode of active and standby load balancing to carry out the consumption statistics.
The above is only for realizing the present invention program's embodiment, not in order to restriction protection scope of the present invention.

Claims (10)

1, a kind of consumption statistical module is characterized in that, this consumption statistical module is connected with database with Edge Server, and this module comprises:
The Edge Server protocol interface module, the message conversion that Edge Server is sent to the consumption statistical module is a fixed format information, and the message after will changing sends to the consumption statistical module;
Consumption statistical treatment module is carried out the consumption statistics according to the message that the Edge Server protocol interface module is sent, and statistics is sent to database interface module;
Database interface module, the statistics that the consumption statistical module is sent is converted to the discernible statistics message of database and sends to database.
2, module according to claim 1 is characterized in that described consumption statistical module further comprises system module, is responsible for the maintenance and the monitoring of module in the consumption statistical module, and registers each Edge Server protocol interface module.
3, module according to claim 1 is characterized in that, the message that described Edge Server sends to the consumption statistical module is that the consumption that comprises the consumption statistical information is gathered message and finished statistical message.
4, module according to claim 3 is characterized in that, described consumption statistical information comprises content operator information, content information and user profile.
5, a kind of consumption statistical method is characterized in that this method may further comprise the steps:
A., the consumption statistical module is set;
B. Edge Server sends consumption statistical dependence message, and the consumption statistical module carries out the consumption statistics according to the consumption statistical dependence message of Edge Server, and the consumption statistics is sent to database.
6, method according to claim 5 is characterized in that among the described step a, and described consumption statistical dependence message comprises the consumption collection message of consumption statistical information and finishes statistical message.
7, method according to claim 6 is characterized in that, the consumption statistical information that described consumption is gathered in the message comprises content operator information, content information and user profile.
8, method according to claim 6, it is characterized in that among the described step b, the consumption statistical module is gathered the message from consumption and is obtained the consumption statistical information, and carry out consumption and add up, after the consumption statistical module receives and finishes statistical message, finish the consumption statistics, statistics is converted to the discernible statistics message of database sends to database.
9, method according to claim 5 is characterized in that described consumption statistical module is arranged in the central module of CDN/MDN system.
10, method according to claim 5 is characterized in that among the described step a, and more than one consumption statistical module is set, and described consumption statistical module is with load balancing and/or active/standby mode operation.
CNB031466338A 2003-07-10 2003-07-10 Dosage statistic module and dosage statistic method Expired - Lifetime CN100365617C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031466338A CN100365617C (en) 2003-07-10 2003-07-10 Dosage statistic module and dosage statistic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031466338A CN100365617C (en) 2003-07-10 2003-07-10 Dosage statistic module and dosage statistic method

Publications (2)

Publication Number Publication Date
CN1567292A true CN1567292A (en) 2005-01-19
CN100365617C CN100365617C (en) 2008-01-30

Family

ID=34471814

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031466338A Expired - Lifetime CN100365617C (en) 2003-07-10 2003-07-10 Dosage statistic module and dosage statistic method

Country Status (1)

Country Link
CN (1) CN100365617C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902505B (en) * 2009-05-31 2013-02-27 中国科学院计算机网络信息中心 Distributed DNS inquiry log real-time statistic device and method thereof
CN111245885A (en) * 2018-11-29 2020-06-05 阿瓦亚公司 Event-based multi-protocol communication session distribution
CN112685375A (en) * 2019-10-18 2021-04-20 上海哔哩哔哩科技有限公司 CDN-based log analysis method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002009254A (en) * 2000-06-19 2002-01-11 Nec Corp Semiconductor storage device
JP4006214B2 (en) * 2001-01-26 2007-11-14 株式会社日立製作所 Data search system, data relay server, database server, and database access method
CN1369837A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Dynamic information feedback system and method based on client/server structure

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902505B (en) * 2009-05-31 2013-02-27 中国科学院计算机网络信息中心 Distributed DNS inquiry log real-time statistic device and method thereof
CN111245885A (en) * 2018-11-29 2020-06-05 阿瓦亚公司 Event-based multi-protocol communication session distribution
US11375049B2 (en) 2018-11-29 2022-06-28 Avaya Inc. Event-based multiprotocol communication session distribution
CN112685375A (en) * 2019-10-18 2021-04-20 上海哔哩哔哩科技有限公司 CDN-based log analysis method and device
CN112685375B (en) * 2019-10-18 2023-04-28 上海哔哩哔哩科技有限公司 Log analysis method and device based on CDN

Also Published As

Publication number Publication date
CN100365617C (en) 2008-01-30

Similar Documents

Publication Publication Date Title
CN101853287B (en) Data compression quick retrieval file system and method thereof
CN102404126B (en) Charging method of cloud computing during application process
CN101069382A (en) Apparatus and method for integrated billing management by real-time session management in wire/wireless integrated service network
CN100576819C (en) Flow analysis method based on linux kernel
CN1612527A (en) Data service information collecting device and charging method using same
CN1303068A (en) Claims settlement system over vehicle insurance network
CN1567266A (en) Automatic connection system and method for application
CN101056211A (en) A method and system for auditing the network access behavior of the user
CN1913520A (en) Identification method and device of root cause for a transaction response time problem in a distributed environment
CN101039490A (en) Coverage analysis system and method for optimizing mobile communication system network
CN1925465A (en) Method for realizing data packet catching based on sharing internal memory
CN1777318A (en) TD-SCDMA accessing network and core network signalling tester and testing method
CN1838011A (en) Intelligent management apparatus and management method for distributed control network based on CAN bus
CN1574790A (en) Method and apparatus for controlling packet transmission and generating packet billing data
CN1866951A (en) Method and system for detecting shared access host machine in network
CN1556634A (en) Comprehensive business platform and its business flow path control method
CN1859224A (en) Method and system for processing service behaviour abnormal
CN100340093C (en) Speech sound business real time recording and analysis system and its method
CN1567292A (en) Dosage statistic module and dosage statistic method
CN1859128A (en) Method for content charging of data service
CN1925432A (en) Method for realizing tax controlled data monitoring of POS system
CN1501622A (en) Network traffic statistical method of IP device
CN1288886C (en) Statistical method for realtime business information
CN101075247A (en) System and method for allocating service of geographical information system
CN101499068A (en) Data base call coverage statistics and analysis method based on log

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220209

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518057 HUAWEI building, road, Shenzhen science and Technology Park

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080130