CN109428733A - A kind of method and device orienting charge on traffic - Google Patents

A kind of method and device orienting charge on traffic Download PDF

Info

Publication number
CN109428733A
CN109428733A CN201710758365.4A CN201710758365A CN109428733A CN 109428733 A CN109428733 A CN 109428733A CN 201710758365 A CN201710758365 A CN 201710758365A CN 109428733 A CN109428733 A CN 109428733A
Authority
CN
China
Prior art keywords
domain name
server
orientation flow
traffic
orientation
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
CN201710758365.4A
Other languages
Chinese (zh)
Other versions
CN109428733B (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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710758365.4A priority Critical patent/CN109428733B/en
Publication of CN109428733A publication Critical patent/CN109428733A/en
Application granted granted Critical
Publication of CN109428733B publication Critical patent/CN109428733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • 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/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1457Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using an account
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of method and device for orienting charge on traffic is disclosed in the embodiment of the present application, this method is the access request message comprising designated domain name for receiving user terminal and sending;Based on the incidence relation between preset designated domain name and orientation flow domain name, the corresponding orientation flow domain name of designated domain name is obtained, and user terminal will be back to comprising the first response message for orienting flow domain name;Receive the first domain name mapping request message comprising orientation flow domain name that user terminal is sent;Based on the first domain name mapping request message, the first domain name mapping response message of the IP address comprising node server is sent to user terminal, triggering user terminal sends the node request message comprising orientation flow domain name to node server;Based on traffic statistics result and SID charge on traffic inventory, the campus network of orientation flow domain name is determined, in this way, reducing the quantity of SID, and then reduce time cost and system resource that a large amount of SID carry out configuration consuming.

Description

A kind of method and device orienting charge on traffic
Technical field
This application involves technical field of network security more particularly to a kind of method and devices of safety certification.
Background technique
With the development of Internet technology and intelligent terminal, the service that user is obtained by network also gradually increases, Such as, music, reading and game etc. increase product stickiness to reduce the threshold that user uses network service, promote business hair Exhibition, each enterprise customer gradually adopt the mode of orientation charge on traffic to give flow to user.
So-called orientation charge on traffic refers to that is used when enterprise customer undertakes the network address that user access enterprise customer specifies determines To the expense of flow, thus the network address for specifying user free access enterprise customer, wherein orientation flow is user's access The flow used when the network address that enterprise customer specifies.
Under the prior art, when specifying the corresponding orientation flow of network address to carry out charging enterprise customer, mainly use with lower section Formula:
Refering to fig. 1 shown in a, orient the configuration diagram of fee collecting system, firstly, enterprise customer by enterprise terminal to The orientation flow service server application of operator orients flow business, obtains operator and distributes the clothes for orienting charge on traffic It is engaged in code (Service IDentity, SID).Then, several specified network address and distribution that operator specifies enterprise customer SID in each business operation support system (Business&Operation Support System, BOSS) and each gateway It is configured in GPRS Support Node (Gateway GPRS Support Node, GGSN).
Further, when the specified network address that user is specified by user terminal access enterprise customer, GGSN is based on specified net Corresponding relationship between location and SID determines the corresponding SID of specified network address of user's access, and counts the access stream of specified network address Amount generates SID charge on traffic inventory based on SID and flowing of access, and SID charge on traffic inventory is sent to corresponding province BOSS, finally, collect the expense of orientation flow by saving BOSS to enterprise customer, and while accessing specified network address to user, uses Flow is free.Wherein, SID charge on traffic inventory be with the flowing of access statistical result of a SID specified network address bound and Corresponding campus network.
But in this way, operator needs to distribute corresponding SID for each enterprise customer, and needs Corresponding configuration is carried out in each BOSS and each GGSN, due to the high number of BOSS and GGSN, configures operating procedure complexity, Therefore, enterprise customer applies for that the efficiency of orientation flow business is extremely low, wastes a large amount of time, time cost and use cost are equal It is higher.Further, since the processing capacity of GGSN is limited, the number of the enterprise customer of configuration receives great limit System.
Summary of the invention
The embodiment of the present application provides a kind of method and device for orienting charge on traffic, for being oriented charge on traffic When, traffic statistics are carried out by multiple subdomain names of corresponding SID setting, it is costly to reduce orientation flowmeter.
Specific technical solution provided by the embodiments of the present application is as follows:
In a first aspect, a kind of method for orienting charge on traffic, comprising:
Dispatch server receives the access request message comprising designated domain name that user terminal is sent;
Based on the incidence relation between preset designated domain name and orientation flow domain name, the corresponding orientation of designated domain name is obtained Flow domain name, and user terminal will be back to comprising orienting the first response message of flow domain name, wherein orienting flow domain name is One subdomain name of dispatch server, and the domain name of dispatch server and each subdomain name correspond to it is same for oriented flow What meter took;
Receive the first domain name mapping request message comprising orientation flow domain name that user terminal is sent;
Based on the first domain name mapping request message, the first domain name of the address comprising node server is sent to user terminal Resolution response message, triggering user terminal send the node request message comprising orientation flow domain name to node server;
The corresponding traffic statistics of orientation flow domain name that receiving node server reports are as a result, and orientation flow business clothes The SID charge on traffic inventory that business device is sent, and it is based on traffic statistics result and SID charge on traffic inventory, determine orientation Traffic Domain The campus network of name.
Preferably, the access request message comprising designated domain name that user terminal is sent by name server is received, tool Body includes:
Receive the second domain name mapping request message comprising designated domain name that user terminal is sent by name server;
Based on the designated domain name for including in the second domain name mapping request message, sending to user terminal includes dispatch server IP address the second domain name mapping response message;
Receive the access request message that user terminal is sent based on the IP address of dispatch server.
Preferably, being asked receiving user terminal by the second domain name mapping comprising designated domain name that name server is sent Before seeking message, further comprise:
Receive the orientation flow business request information comprising designated domain name that each enterprise customer is sent by enterprise terminal;
The respectively subdomain name of one dispatch server of the corresponding designated domain name distribution of each enterprise customer, as orientation Flow domain name;
Establish the incidence relation between each designated domain name and each orientation flow domain name.
Determined by what enterprise terminal was sent comprising designated domain name preferably, receiving each enterprise customer in dispatch server To before flow business request information, further comprise:
Orientation flow business request information is sent to orientation flow service server;
Receive the orientation flow response comprising SID that orientation flow service server is returned based on orientation flow request message Message;
Establish the domain name of SID and dispatch server and the corresponding relationship of each subdomain name, wherein the domain name of dispatch server A SID is corresponded to each subdomain name.
Configuration message comprising corresponding relationship is sent to orientation flow service server, triggering orientation flow business service Device is clear for the domain name of dispatch server and the corresponding flowing of access generation SID charge on traffic of each subdomain name based on corresponding relationship It is single.
Second aspect, a method of orientation charge on traffic, comprising:
The access request message comprising designated domain name is sent to dispatch server, triggering dispatch server is based on preset finger Incidence relation between localization name and orientation flow domain name obtains the corresponding orientation flow domain name of designated domain name, wherein oriented flow The subdomain name that domain name is dispatch server is measured, and the domain name of dispatch server and each subdomain name correspond to the same use In orientation charge on traffic;
Receive the first response message comprising orientation flow domain name that dispatch server returns;
The first domain name mapping request message comprising orientation flow domain name is sent to dispatch server, and receives dispatch service First domain name mapping response message of the address comprising node server that device is returned based on the first domain name mapping request message;
The node request message comprising orientation flow domain name is sent to node server, triggering node server takes to scheduling Business device reports the corresponding traffic statistics of orientation flow domain name as a result, and triggering dispatch server based on traffic statistics result and connecing The SID charge on traffic inventory that the orientation flow service server of receipts is sent determines the campus network of orientation flow domain name.
The third aspect, a kind of device orienting charge on traffic, comprising:
First receiving unit, for receiving the access request message comprising designated domain name of user terminal transmission;
First response unit, for obtaining based on the incidence relation between preset designated domain name and orientation flow domain name The corresponding orientation flow domain name of designated domain name, and it will be back to user terminal comprising the first response message for orienting flow domain name, Wherein, orientation flow domain name is a subdomain name of dispatch server, and the domain name of dispatch server and each subdomain name are equal It is corresponding same for orienting charge on traffic;
Second receiving unit, for receiving the first domain name mapping request comprising orientation flow domain name of user terminal transmission Message;
Second response unit, for being based on the first domain name mapping request message, sending to user terminal includes node serve First domain name mapping response message of the address of device, triggering user terminal are sent to node server comprising orientation flow domain name Node request message;
Determination unit, the corresponding traffic statistics of orientation flow domain name reported for receiving node server as a result, and The SID charge on traffic inventory that flow service server is sent is oriented, and is based on traffic statistics result and SID charge on traffic inventory, Determine the campus network of orientation flow domain name.
Fourth aspect, a kind of device orienting charge on traffic, comprising:
First transmission unit, for sending the access request message comprising designated domain name, triggering scheduling to dispatch server Server obtains the corresponding oriented flow of designated domain name based on the incidence relation between preset designated domain name and orientation flow domain name Measure domain name, wherein orient the subdomain name that flow domain name is dispatch server, and the domain name of dispatch server and each height Domain name corresponds to same for orienting charge on traffic;
Receiving unit, for receiving the first response message comprising orientation flow domain name of dispatch server return;
Second transmission unit disappears for sending the first domain name mapping request comprising orientation flow domain name to dispatch server Breath, and receive the first domain of the address comprising node server that dispatch server is returned based on the first domain name mapping request message Name resolution response message;
Determination unit triggers node for sending the node request message comprising orientation flow domain name to node server Server reports the corresponding traffic statistics of orientation flow domain name as a result, and triggering dispatch server based on stream to dispatch server The SID charge on traffic inventory for measuring statistical result and received orientation flow service server transmission determines the stream for orienting flow domain name Amount expense.
5th aspect, a kind of electronic equipment, comprising: one or more processors;And
One or more computer-readable mediums are stored with the program for orienting charge on traffic on readable medium, wherein When program is executed by one or more processors, the step of realizing the method for any one of above-mentioned first aspect.
6th aspect, one or more computer-readable mediums are stored with for orienting charge on traffic on readable medium Program, wherein when program is executed by one or more processors, so that communication equipment executes any one of above-mentioned first aspect Method.
7th aspect, a kind of electronic equipment, comprising: one or more processors;And
One or more computer-readable mediums are stored with the program for orienting charge on traffic on readable medium, wherein When program is executed by one or more processors, the step of realizing the method for any one of above-mentioned second aspect.
Eighth aspect, one or more computer-readable mediums are stored with for orienting charge on traffic on readable medium Program, wherein when program is executed by one or more processors, so that communication equipment executes any one of above-mentioned second aspect Method.
In the embodiment of the present application, in advance the domain name of dispatch server and subdomain name are used to orient charge on traffic with same SID bound, then, the access request message comprising designated domain name that dispatch server is sent based on user terminal obtains The orientation flow domain name of corresponding designated domain name setting is taken, and is user terminal distribution node server based on orientation flow domain name, Then, for user terminal to node server sending node request message, node server reports the corresponding visit of orientation flow domain name Ask flow, further, dispatch server is based on traffic statistics result and SID charge on traffic inventory, determines orientation Traffic Domain The corresponding campus network of name.In this way, only applying for a SID, and specified using each subdomain name bound with SID as each Orientation flow domain name after domain name redirection, the flowing of access and SID of the orientation flow domain name based on node server statistics Charge on traffic inventory obtains the campus network of orientation flow domain name, does not need corresponding for each enterprise customer configuration SID reduces the plenty of time cost and system resource expended due to applying for a large amount of SID and SID configuration, reduces oriented flow The cost for measuring service billing improves the efficiency of orientation charge on traffic.
Detailed description of the invention
Fig. 1 a is the configuration diagram that fee collecting system is oriented under the prior art;
Fig. 1 b is the configuration diagram that fee collecting system is oriented in the embodiment of the present application;
Fig. 1 c is the flow chart that the application of flow business is oriented in the embodiment of the present application;
Fig. 2 is the flow chart that the method for charge on traffic is oriented in the embodiment of the present application;
Fig. 3 is the structural schematic diagram that the device of charge on traffic is oriented in the embodiment of the present application;
Fig. 4 is the structural schematic diagram that the device of charge on traffic is oriented in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, is not whole embodiments.It is based on The embodiment of the present application, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
In order to improve the efficiency of orientation charge on traffic, system resource is saved, in the embodiment of the present application, devises a kind of orientation The method of charge on traffic, this method be only apply a SID, and by the domain name and each subdomain name of SID and dispatch server into Designated domain name, then, is redirected to the subdomain name of distribution, and count the flowing of access of above-mentioned subdomain name, Yi Jiji by row binding In the flowing of access of above-mentioned subdomain name and the SID charge on traffic inventory of acquisition, the campus network of above-mentioned subdomain name is determined.
Preferred embodiment of the present application is illustrated below in conjunction with Figure of description, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this Shen Please in embodiment and embodiment in feature can be combined with each other.
Refering to fig. 1 shown in b, for the configuration diagram for orienting fee collecting system, in the embodiment of the present application, flowmeter is oriented Charge system includes that dispatch server, node server, orientation flow service server, BOSS, GGSN, user terminal and enterprise are whole End.
In the embodiment of the present application, dispatch server is content distributing network (Content Delivery Network, CDN) Dispatch server, node server are CDN node server, and CDN server and each CDN node server constitute CDN system. Optionally, orientation flow service server is the server that operator handles flow business.
In the embodiment of the present application, orient the application of flow business the step of it is as follows:
Firstly, dispatch server sends the application request of orientation flow business to orientation flow service server.
Then, orientation flow service server is dispatch server distribution one for orienting the SID of charge on traffic, and will The domain name and each subdomain name of SID and dispatch server are bound, and establish corresponding relationship, and by SID and each correspondence Domain name and subdomain name carry out parameter configuration in each BOSS and each GGSN.
Third, enterprise customer orient flow business to dispatch server application by enterprise terminal, and dispatch server is enterprise The designated domain name that industry user specifies distributes subdomain name, as orientation flow domain name.
In the embodiment of the present application, user terminal access designated domain name obtain response message the step of it is as follows:
Disappear firstly, user terminal sends the second domain name mapping request comprising designated domain name to dispatch server by GGSN Breath obtains the comprising the address dispatch server Internet protocol (Internet Protocol, IP) that dispatch server returns Two domain name mapping response messages.
Then, user terminal sends the access request message comprising designated domain name to dispatch server, obtains dispatch service The first response message comprising orientation flow domain name that device returns.
Third, user terminal send the first domain name mapping request message comprising orientation flow domain name to dispatch server, Obtain IP address the first domain name mapping response message comprising node server that dispatch server returns.
4th, user terminal sends the node request message comprising orientation flow domain name to node server, obtains node The second response message that server returns.
In the embodiment of the present application, it is as follows to generate the step of orienting flow telephone expenses list:
Firstly, the corresponding flowing of access of node server statistics orientation flow domain name, and by the traffic statistics result of acquisition It is sent to dispatch server.
Then, dispatch server determines corresponding designated domain name according to orientation flow domain name, and determines designated domain name pair The enterprise customer answered.
Finally, dispatch server leads to based on traffic statistics as a result, determining the corresponding orientation campus network of enterprise customer.
Refering to fig. 1 shown in c, for the flow chart for orienting the application of flow business, in the embodiment of the present application, it is being oriented flow Before the process of charging, first to file orients flow business, and the detailed process for orienting the application of flow business is as follows:
Step 100: dispatch server sends orientation flow business request information to orientation flow service server.
Step 101: orientation flow service server is based on received orientation flow business request information, is dispatch server Distribution one for orienting the SID of charge on traffic.
Step 102: dispatch server receives the SID that orientation flow service server returns, and establishes above-mentioned SID and scheduling Corresponding relationship between the domain name of server and each subdomain name of dispatch server.
Specifically, when executing step 102, the domain name of dispatch server and each subdomain name, corresponding one obtained SID。
Step 103: orientation flow service server receives the configuration comprising above-mentioned corresponding relationship that dispatch server is sent Message carries out parameter configuration.
Specifically, orientation flow service server receives the configuration message comprising above-mentioned corresponding relationship, it is based on above-mentioned correspondence Relationship, by each subdomain name of above-mentioned SID, the domain name of dispatch server and dispatch server in each GGSN and each BOSS It is disposed, completes parameter configuration.
Wherein, GGSN is used to determine corresponding SID according to specified network address, and sends SID ticket to BOSS, and BOSS is used for base In SID ticket, user is accessed into the campus network that specified network address uses, carries out charging to corresponding enterprise customer.
In this way, GGSN and BOSS can in subsequent steps, by the domain name of dispatch server and each subdomain name pair All flowing of access answered all are billed to a SID.
Step 104: dispatch server receives the second domain name mapping comprising designated domain name that each enterprise terminal is sent and asks Seek message.
Specifically, when executing step 104, optionally, the IP address that designated domain name can specify for enterprise customer can also be with For specified uniform resource locator (Uniform Resource Locator, URL).Wherein, enterprise terminal is specified Domain name can be one, be also possible to multiple.
Step 105: dispatch server is respectively that the designated domain name of each enterprise terminal distributes a dispatch server Subdomain name, as orientation flow domain name.
Step 106: dispatch server establishes the incidence relation between each designated domain name and each orientation flow domain name, and The business application response message comprising orientation flow domain name is returned to enterprise terminal.
Specifically, when executing step 106, when the designated domain name of an enterprise terminal is multiple, then said one enterprise Multiple designated domain names of terminal, the subdomain name of corresponding dispatch server, i.e., each designated domain name of one enterprise terminal Correspond to an orientation flow domain name.
In this way, dispatch server only applies for a SID, and a subdomain name is distributed for each enterprise customer, so that it may In subsequent steps, by subdomain name, to determine the flow generated when user accesses enterprise customer's designated domain name, and pass through SID carries out charge on traffic.
As shown in fig.2, for the flow chart of orientation charge on traffic, in the embodiment of the present application, to the tool of orientation charge on traffic Body process is as follows:
Step 200: user terminal sends the second domain name comprising designated domain name by name server, to dispatch server Analysis request message, and receive the comprising own IP address that dispatch server is returned based on the second domain name mapping request message Two domain name mapping response messages.
Specifically, firstly, user terminal disappears to name server transmission comprising the second domain name mapping request of designated domain name Breath.
Then, name server is based on the corresponding relationship between preset designated domain name and orientation flow domain name, acquisition pair The orientation flow domain name for answering designated domain name to be arranged, and based on orientation flow domain name, obtain the corresponding scheduling clothes of orientation flow domain name Business device.
Further, name server calls dispatch server to parse designated domain name, and dispatch server is to user Terminal sends the second domain name mapping response message comprising own IP address.
In this way, name server can call dispatch server to parse designated domain name, parsed
As a result it is itself IP, and itself IP is sent to the user terminal.
Step 201: user terminal is based on received second domain name mapping response message, sends to invoking server comprising referring to The access request message of localization name.
Specifically, user terminal obtains the IP address for the dispatch server for including in the second domain name mapping response message, and IP address based on dispatch server sends the access request message comprising designated domain name to dispatch server.
Step 202: dispatch server obtains the designated domain name for including in access request message, and is based on preset specified domain Incidence relation between name and orientation flow domain name determines the corresponding orientation flow domain name of designated domain name, and will include orientation First response message of flow domain name is back to user terminal.
Step 203: user terminal sends the first domain name mapping request comprising orientation flow domain name to dispatch server and disappears Breath.
Step 204: dispatch server receives the first domain name mapping request message that user terminal is sent, and is the first domain name The orientation flow domain name for including in analysis request message distributes the IP address of a node server.
Step 205: IP address the first domain name mapping response message comprising node server is sent to by dispatch server User terminal.
Step 206: IP of the user terminal based on the node server for including in received first domain name mapping response message Address sends the node request message comprising orientation flow domain name to node server.
Step 207: node server is based on received node request message, returns to corresponding target response to user terminal Message.
Step 208: the corresponding flow of node server statistics orientation flow domain name, and traffic statistics result is sent to tune Spend server.
Step 209: dispatch server is based on received traffic statistics as a result, determining the traffic fee of access orientation flow domain name With.
Specifically, dispatch server receives the corresponding traffic statistics of orientation flow domain name as a result, and receiving orientation flow industry The SID charge on traffic inventory that business server is sent determines the corresponding campus network of orientation flow domain name, and obtains designated domain name pair The enterprise customer answered carries out charge on traffic to enterprise customer.
In this way, dispatch server, which only passes through a SID, orders orientation flow, do not need to configure for each enterprise customer Corresponding SID avoids the complex process that each enterprise customer is oriented flow business application, also avoids in each BOSS Process with each enterprise customer progress SID configuration is directed in each GGSN, saves the system resource of BOSS and GGSN, mentions High efficiency, reduces the cost of orientation flow business application, and dispatch server is directed to the designated domain name of each enterprise customer, Traffic statistics are carried out, and charge on traffic is carried out to enterprise customer according to traffic statistics result.
In the embodiment of the present application, a kind of electronic equipment, comprising: one or more processors;And
One or more computer-readable mediums are stored with the program for orienting charge on traffic on readable medium, wherein When program is executed by one or more processors, each step in above-described embodiment is realized.
In the embodiment of the present application, one or more computer-readable mediums are stored with for orienting flow on readable medium The program of charging, wherein when program is executed by one or more processors, communication equipment is executed in above-described embodiment Each step.
Based on the above embodiment, as shown in fig.3, the structural schematic diagram of the device of orientation charge on traffic, the application are implemented In example, the device for orienting charge on traffic is specifically included:
First receiving unit 30, for receiving the access request message comprising designated domain name of user terminal transmission;
First response unit 31, for obtaining based on the incidence relation between preset designated domain name and orientation flow domain name The corresponding orientation flow domain name of designated domain name is taken, and user's end will be back to comprising the first response message for orienting flow domain name End, wherein orient the subdomain name that flow domain name is dispatch server, and the domain name of dispatch server and each subdomain name It corresponds to same for orienting charge on traffic;
Second receiving unit 32, the first domain name mapping comprising orientation flow domain name for receiving user terminal transmission are asked Seek message;
Second response unit 33 sends to user terminal and takes comprising node for being based on the first domain name mapping request message First domain name mapping response message of the address of business device, triggering user terminal are sent to node server comprising orientation flow domain name Node request message;
Determination unit 34, the corresponding traffic statistics of orientation flow domain name reported for receiving node server as a result, with And the SID charge on traffic inventory that orientation flow service server is sent, and it is clear based on traffic statistics result and SID charge on traffic It is single, determine the campus network of orientation flow domain name.
Preferably, the access request message comprising designated domain name sent in reception user terminal by name server When, the first receiving unit 30 is specifically used for:
Receive the second domain name mapping request message comprising designated domain name that user terminal is sent by name server;
Based on the designated domain name for including in the second domain name mapping request message, sending to user terminal includes dispatch server IP address the second domain name mapping response message;
Receive the access request message that user terminal is sent based on the IP address of dispatch server.
Preferably, receiving second comprising designated domain name that user terminal is sent by name server in dispatch server Before domain name mapping request message, the first receiving unit 30 is also used to:
Receive the orientation flow business request information comprising designated domain name that each enterprise customer is sent by enterprise terminal;
The respectively subdomain name of one dispatch server of the corresponding designated domain name distribution of each enterprise customer, as orientation Flow domain name;
Establish the incidence relation between each designated domain name and each orientation flow domain name.
Preferably, the orientation flow business comprising designated domain name sent in each enterprise customer of reception by enterprise terminal Before request message, the first receiving unit 30 is also used to:
Orientation flow business request information is sent to orientation flow service server;
Receive the orientation flow response comprising SID that orientation flow service server is returned based on orientation flow request message Message;
Establish the domain name of SID and dispatch server and the corresponding relationship of each subdomain name, wherein the domain name of dispatch server A SID is corresponded to each subdomain name.
Configuration message comprising corresponding relationship is sent to orientation flow service server, triggering orientation flow business service Device is clear for the domain name of dispatch server and the corresponding flowing of access generation SID charge on traffic of each subdomain name based on corresponding relationship It is single.
Based on the above embodiment, as shown in fig.4, the structural schematic diagram of the device of orientation charge on traffic, the application are implemented In example, the device for orienting charge on traffic is specifically included:
First transmission unit 40, for sending the access request message comprising designated domain name to dispatch server, triggering is adjusted It spends server and the corresponding orientation of designated domain name is obtained based on the incidence relation between preset designated domain name and orientation flow domain name Flow domain name, wherein orientation flow domain name is a subdomain name of dispatch server, and the domain name of dispatch server and each Subdomain name corresponds to same for orienting charge on traffic;
Receiving unit 41, for receiving the first response message comprising orientation flow domain name of dispatch server return;
Second transmission unit 42, for sending the first domain name mapping request comprising orientation flow domain name to dispatch server Message, and receive the first of the address comprising node server that dispatch server is returned based on the first domain name mapping request message Domain name mapping response message;
Determination unit 43, for sending the node request message comprising orientation flow domain name, triggering section to node server Point server to dispatch server report the corresponding traffic statistics of orientation flow domain name as a result, and triggering dispatch server be based on The SID charge on traffic inventory that traffic statistics result and received orientation flow service server are sent determines orientation flow domain name Campus network.
In the embodiment of the present application, in advance the domain name of dispatch server and subdomain name are used to orient charge on traffic with same SID bound, then, the access request message comprising designated domain name that dispatch server is sent based on user terminal obtains The orientation flow domain name of corresponding designated domain name setting is taken, and is user terminal distribution node server based on orientation flow domain name, Then, for user terminal to node server sending node request message, node server reports the corresponding visit of orientation flow domain name Ask flow, further, dispatch server is based on traffic statistics result and SID charge on traffic inventory, determines orientation Traffic Domain The corresponding campus network of name.In this way, only applying for a SID, and specified using each subdomain name bound with SID as each Orientation flow domain name after domain name redirection, the flowing of access and SID of the orientation flow domain name based on node server statistics Charge on traffic inventory obtains the campus network of orientation flow domain name, does not need corresponding for each enterprise customer configuration SID reduces the plenty of time cost and system resource expended due to applying for a large amount of SID and SID configuration, reduces oriented flow The cost for measuring service billing improves the efficiency of orientation charge on traffic.
It should be understood by those skilled in the art that, the embodiment in the embodiment of the present application can provide as method, system or meter Calculation machine program product.Therefore, complete hardware embodiment, complete software embodiment can be used in the embodiment of the present application or combine soft The form of the embodiment of part and hardware aspect.Moreover, being can be used in the embodiment of the present application in one or more wherein includes meter Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, the optical memory of calculation machine usable program code Deng) on the form of computer program product implemented.
It is referring to according to the method for embodiment, equipment (system) and calculating in the embodiment of the present application in the embodiment of the present application The flowchart and/or the block diagram of machine program product describes.It should be understood that can be realized by computer program instructions flow chart and/or The combination of the process and/or box in each flow and/or block and flowchart and/or the block diagram in block diagram.It can mention For the processing of these computer program instructions to general purpose computer, special purpose computer, Embedded Processor or other programmable datas The processor of equipment is to generate a machine, so that being executed by computer or the processor of other programmable data processing devices Instruction generation refer to for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of fixed function.
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 the preferred embodiment in the embodiment of the present application has been described, once a person skilled in the art knows Basic creative concept, then additional changes and modifications may be made to these embodiments.So appended claims are intended to explain Being includes preferred embodiment and all change and modification for falling into range in the embodiment of the present application.
Obviously, those skilled in the art embodiment in the embodiment of the present application can be carried out various modification and variations without It is detached from the spirit and scope of embodiment in the embodiment of the present application.If in this way, in the embodiment of the present application embodiment these modification Within the scope of belonging in the embodiment of the present application claim and its equivalent technologies with modification, then also it is intended in the embodiment of the present application It includes these modifications and variations.

Claims (11)

1. a kind of method for orienting charge on traffic characterized by comprising
Dispatch server receives the access request message comprising designated domain name that user terminal is sent;
Based on the incidence relation between preset designated domain name and orientation flow domain name, the corresponding orientation of the designated domain name is obtained Flow domain name, and the first response message comprising the orientation flow domain name is back to the user terminal, wherein it is described fixed To a subdomain name of the entitled dispatch server of Traffic Domain, and the domain name of the dispatch server and each subdomain name are equal It is corresponding same for orienting the service code SID of charge on traffic;
Receive the first domain name mapping request message comprising the orientation flow domain name that the user terminal is sent;
Based on the first domain name mapping request message, Xiang Suoshu user terminal sends the Internet protocol comprising node server First domain name mapping response message of IP address triggers the user terminal and sends to the node server comprising the orientation The node request message of flow domain name;
The corresponding traffic statistics of the orientation flow domain name that the node server reports are received as a result, and orientation flow industry The SID charge on traffic inventory that business server is sent, and it is based on the traffic statistics result and SID charge on traffic inventory, determine institute State the campus network of orientation flow domain name.
2. the method as described in claim 1, which is characterized in that receive user terminal by name server sends comprising finger The access request message of localization name, specifically includes:
The user terminal is received to disappear by the second domain name mapping request comprising the designated domain name that name server is sent Breath;
Based on the designated domain name for including in the second domain name mapping request message, it includes the tune that Xiang Suoshu user terminal, which is sent, Spend the second domain name mapping response message of the IP address of server;
Receive the access request message that the user terminal is sent based on the IP address of the dispatch server.
3. method according to claim 2, which is characterized in that receiving what the user terminal was sent by name server Before the second domain name mapping request message comprising the designated domain name, further comprise:
Receive the orientation flow business request information comprising designated domain name that each enterprise customer is sent by enterprise terminal;
The respectively subdomain name of one dispatch server of the corresponding designated domain name distribution of each enterprise customer, as orientation Flow domain name;
Establish the incidence relation between each designated domain name and each orientation flow domain name.
4. method as claimed in claim 3, which is characterized in that in the packet that each enterprise customer of reception is sent by enterprise terminal Before orientation flow business request information containing designated domain name, further comprise:
Orientation flow business request information is sent to the orientation flow service server;
Receive the orientation flow comprising SID that the orientation flow service server is returned based on the orientation flow request message Response message;
Establish the domain name of the SID and the dispatch server and the corresponding relationship of each subdomain name, wherein the dispatch service The domain name of device and each subdomain name correspond to a SID.
Configuration message comprising the corresponding relationship is sent to the orientation flow service server, triggers the orientation flow Service server is directed to the domain name and the corresponding flowing of access of each subdomain name of the dispatch server based on the corresponding relationship Generate SID charge on traffic inventory.
5. a kind of method for orienting charge on traffic characterized by comprising
The access request message comprising designated domain name is sent to dispatch server, the dispatch server is triggered and is based on preset finger Incidence relation between localization name and orientation flow domain name obtains the corresponding orientation flow domain name of the designated domain name, wherein institute State the subdomain name that orientation flow domain name is the dispatch server, and the domain name of the dispatch server and each subdomain Name corresponds to same for orienting the service code SID of charge on traffic;
Receive the first response message comprising the orientation flow domain name that the dispatch server returns;
The first domain name mapping request message comprising the orientation flow domain name is sent to the dispatch server, and described in reception The internet protocol address comprising node server that dispatch server is returned based on the first domain name mapping request message The first domain name mapping response message;
The node request message comprising the orientation flow domain name is sent to the node server, triggers the node server The corresponding traffic statistics of the orientation flow domain name are reported to the dispatch server as a result, and the triggering dispatch server It is described fixed to be determined based on the SID charge on traffic inventory that the traffic statistics result and received orientation flow service server are sent To the campus network of flow domain name.
6. a kind of device for orienting charge on traffic characterized by comprising
First receiving unit, for receiving the access request message comprising designated domain name of user terminal transmission;
First response unit, for based on the incidence relation between preset designated domain name and orientation flow domain name, described in acquisition The corresponding orientation flow domain name of designated domain name, and the first response message comprising the orientation flow domain name is back to the use Family terminal, wherein described to orient the subdomain name that flow domain name is dispatch server, and the domain name of the dispatch server It is corresponded to each subdomain name same for orienting the service code SID of charge on traffic;
Second receiving unit, the first domain name mapping comprising the orientation flow domain name sent for receiving the user terminal Request message;
Second response unit, for being based on the first domain name mapping request message, it includes node that Xiang Suoshu user terminal, which is sent, First domain name mapping response message of the internet protocol address of server, triggers the user terminal to the node serve Device sends the node request message comprising the orientation flow domain name;
Determination unit, for receiving corresponding traffic statistics of the orientation flow domain name that the node server reports as a result, And the SID charge on traffic inventory that orientation flow service server is sent, and flowed based on the traffic statistics result and the SID Keep cost order is measured, determines the campus network of the orientation flow domain name.
7. a kind of device for orienting charge on traffic characterized by comprising
First transmission unit triggers the scheduling for sending the access request message comprising designated domain name to dispatch server Server is corresponding fixed based on the incidence relation acquisition designated domain name between preset designated domain name and orientation flow domain name To flow domain name, wherein described to orient the subdomain name that flow domain name is the dispatch server, and the dispatch service The domain name of device and each subdomain name correspond to same for orienting the service code SID of charge on traffic;
Receiving unit, the first response message comprising the orientation flow domain name returned for receiving the dispatch server;
Second transmission unit is asked for sending the first domain name mapping comprising the orientation flow domain name to the dispatch server Seek message, and receive the dispatch server based on the first domain name mapping request message return comprising node server First domain name mapping response message of internet protocol address;
Determination unit, for sending the node request message comprising the orientation flow domain name, triggering to the node server The node server reports the corresponding traffic statistics of the orientation flow domain name as a result, and triggering to the dispatch server The SID charge on traffic that the dispatch server is sent based on the traffic statistics result and received orientation flow service server Inventory determines the campus network of the orientation flow domain name.
8. a kind of electronic equipment characterized by comprising one or more processors;And
One or more computer-readable mediums are stored with the program for orienting charge on traffic on the readable medium, wherein When described program is executed by one or more of processors, realizing the method as described in any one of Claims 1 to 4 Step.
9. one or more computer-readable mediums, which is characterized in that be stored on the readable medium for orienting flowmeter The program taken, wherein when described program is executed by one or more processors, so that communication equipment executes such as Claims 1-4 Any one of described in method.
10. a kind of electronic equipment characterized by comprising one or more processors;And
One or more computer-readable mediums are stored with the program for orienting charge on traffic on the readable medium, wherein When described program is executed by one or more of processors, the step of realizing method as described in claim 5.
11. one or more computer-readable mediums, which is characterized in that be stored on the readable medium for orienting flowmeter The program taken, wherein when described program is executed by one or more processors, so that communication equipment is executed as in claim 5 The method.
CN201710758365.4A 2017-08-29 2017-08-29 Method and device for directional flow charging Active CN109428733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758365.4A CN109428733B (en) 2017-08-29 2017-08-29 Method and device for directional flow charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758365.4A CN109428733B (en) 2017-08-29 2017-08-29 Method and device for directional flow charging

Publications (2)

Publication Number Publication Date
CN109428733A true CN109428733A (en) 2019-03-05
CN109428733B CN109428733B (en) 2022-01-25

Family

ID=65503702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758365.4A Active CN109428733B (en) 2017-08-29 2017-08-29 Method and device for directional flow charging

Country Status (1)

Country Link
CN (1) CN109428733B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111224952A (en) * 2019-12-24 2020-06-02 中移(杭州)信息技术有限公司 Network resource acquisition method and device for directional flow and storage medium
CN111953617A (en) * 2019-05-17 2020-11-17 贵州白山云科技股份有限公司 Load balancing scheduling method, device, medium and equipment
CN114666841A (en) * 2020-12-22 2022-06-24 中国联合网络通信集团有限公司 Flow-free method and flow-free system for directional flow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130016732A1 (en) * 2007-09-30 2013-01-17 Huawei Technologies Co., Ltd. Policy decision function addressing method, network element and network system
CN105791247A (en) * 2014-12-25 2016-07-20 中国移动通信集团公司 Unified traffic payment business implementation method and associated equipment and system
CN105828310A (en) * 2015-01-04 2016-08-03 中国移动通信集团公司 Data service billing method, equipment and system
CN106303751A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 A kind of realization method and system orienting flow bag

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130016732A1 (en) * 2007-09-30 2013-01-17 Huawei Technologies Co., Ltd. Policy decision function addressing method, network element and network system
CN105791247A (en) * 2014-12-25 2016-07-20 中国移动通信集团公司 Unified traffic payment business implementation method and associated equipment and system
CN105828310A (en) * 2015-01-04 2016-08-03 中国移动通信集团公司 Data service billing method, equipment and system
CN106303751A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 A kind of realization method and system orienting flow bag

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953617A (en) * 2019-05-17 2020-11-17 贵州白山云科技股份有限公司 Load balancing scheduling method, device, medium and equipment
CN111953617B (en) * 2019-05-17 2023-01-31 贵州白山云科技股份有限公司 Load balancing scheduling method, device, medium and equipment
CN111224952A (en) * 2019-12-24 2020-06-02 中移(杭州)信息技术有限公司 Network resource acquisition method and device for directional flow and storage medium
CN114666841A (en) * 2020-12-22 2022-06-24 中国联合网络通信集团有限公司 Flow-free method and flow-free system for directional flow

Also Published As

Publication number Publication date
CN109428733B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN104081339B (en) The data transmission by network connection is managed based on priority and data application plan
CN104410691B (en) A kind of website accelerated method and system based on content distributing network
CN104967624B (en) It is a kind of based on method, mobile terminal and the system of exempting from flow platform access network
CN107395683A (en) The system of selection of a kind of time source path and server
CN103685590B (en) Obtain the method and system of IP address
CN104618226A (en) Information processing method, client and server
CN109960904A (en) Operation system management method, management server, user terminal and management system
CN108696400A (en) network monitoring method and device
CN106462461A (en) System, device and methods for billing user for their consumption of mobile broadband services and virtualized cloud resources
CN104902452B (en) A kind of method and mobile terminal for mobile terminal network visiting
CN104219069B (en) access frequency control method, device and control system
CN103281673A (en) Business information push service system and method
CN102629909A (en) Traffic counting method and system based on processes
CN107026758B (en) Information processing method, information processing system and server for CDN service update
CN109428733A (en) A kind of method and device orienting charge on traffic
CN104935670B (en) A kind of method, the distribution server and system for mobile terminal network visiting
CN104967688A (en) Method for accessing to network by using flow-free platform, mobile terminal and system
CN109982277A (en) A kind of business authorization method and device
CN104796880B (en) Client identification module SIM card resource allocation methods, relevant device and system
CN110198530A (en) Exempt from scheduling processing method, device, equipment and the storage medium of traffic service
CN103905260A (en) Terminal device network traffic monitoring method and device
CN105847380A (en) UDP acceleration method and system in content distribution network
CN108880934A (en) A kind of data flow statistic method and device based on block chain
CN109309907A (en) Method, apparatus and its relevant device for charge on traffic
CN108345508A (en) Interface calls test method and device

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