CN108366176A - A kind of charging method of terminal applies, apparatus and system - Google Patents
A kind of charging method of terminal applies, apparatus and system Download PDFInfo
- Publication number
- CN108366176A CN108366176A CN201810072792.1A CN201810072792A CN108366176A CN 108366176 A CN108366176 A CN 108366176A CN 201810072792 A CN201810072792 A CN 201810072792A CN 108366176 A CN108366176 A CN 108366176A
- Authority
- CN
- China
- Prior art keywords
- metering data
- safety certification
- charging
- authentication information
- management system
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/51—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP for resellers, retailers or service providers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of charging method of terminal applies, apparatus and system are disclosed in the embodiment of the present application.Execution acceleration service accelerates server to receive the business datum of SDK transmissions applied after charging and after the corporate client mark of charging application in this method, the acquisition of charge information is carried out to business datum, obtain the metering data of business datum, it is rear to far management system send accounting request, accounting request includes the authentication information of metering data and the first safety certification, so that far management system carries out billing statistics after determining that metering data is target metering data, to target metering data.As it can be seen that when charging is applied in open state, this method reduces the performance loss of terminal applies by accelerating server to complete the acquisition of metering data and reporting work;And the authentication process by accelerating server and far management system, it ensure that the validity for the metering data for accelerating server to report, ensure that the interests of corporate client.
Description
Technical field
This application involves field of communication technology more particularly to a kind of charging method of terminal applies, apparatus and systems.
Background technology
When the business datum to terminal applies carries out charging, the usually first embedded software in the application program of terminal applies
The business datum of the application is carried out agency and is forwarded to by development kit (Software Development Kit, SDK), SDK
Content distributing network (Content Delivery Network, CDN) in Cloud Server carries out service acceleration, and SDK is adopted later
Collect the metering data of all business datums of forwarding, and by the metering data real-time report of acquisition to far management system, charging
Management system to metering data carry out billing statistics, wherein accelerate service can reliably, rapidly by the application outside Cloud Server
Business data transmission to Cloud Server, to reduce the bandwidth cost of user.Currently, the charging method of existing terminal applies
Flow is as shown in Figure 1, this method may include:
Step 110, SDK are embedded in terminal applies.
After step 120, terminal applies are activated, the business datum of terminal applies is forwarded to CDN by SDK, with to business number
Accelerate service according to providing.
Step 130, SDK are after receiving the response of acceleration service of CDN transmissions, the metering data of capturing service data,
And by metering data real-time report far management system.
Step 140, far management system carry out billing statistics to metering data.
However, in above-mentioned charging method, when this is using in operating status, SDK can be frequently to the business of the application
Data carry out billing data acquisition and metering data reports, and increase the performance loss of terminal applies in this way.Meanwhile when SDK connects
When receiving the failure response for accelerating service, the metering data of acquisition can also be reported far management system by SDK, i.e., without acceleration
The business datum (or invalid business datum) of service has also carried out the acquisition of metering data, reduces the charging reported in this way
The validity of data increases the additional cost of corporate client.
Invention content
The embodiment of the present application provides a kind of charging method of terminal applies, apparatus and system, for reducing terminal applies
Performance is lost, and ensure that the validity of metering data.
In a first aspect, providing a kind of charging method of terminal applies, this method may include:Receive Software Development Tools
Packet SDK send wait for charging application business datum and it is described wait for charging application identities after, to business datum carry out charging letter
The acquisition of breath obtains the metering data of business datum;Accounting request is sent to far management system, accounting request includes charging number
According to the authentication information with the first safety certification, accounting request is for asking far management system to carry out charging to target metering data
Statistics.As it can be seen that when charging applies in operating status, the embodiment of the present invention, which passes through, accelerates server to complete metering data
Work is acquired and reported, the performance loss of terminal applies, and the mirror by accelerating server and far management system are reduced
Power process ensure that the validity for the metering data for accelerating server to report, to ensure that the interests of corporate client.
In an optional example, the authentication information of the first safety certification includes accelerating server identification, the first safety
The authentication information of certification determines that the metering data is target metering data for far management system.
In an optional example, wait for that charging application identities are to wait for that charging is identified using affiliated corporate client.
In an optional example, accounting request is sent to far management system, including:After the first preset time period
Accounting request is sent to far management system, i.e., periodically sends accounting request to far management system, can be taken to avoid acceleration
Business device occurs the case where caused metering data reports unsuccessfully under busy working condition, improves the stabilization of charging flow
Property.
In an optional example, after sending accounting request to far management system, this method further includes:Receive meter
Take the response of the refusal accounting request of management system transmission;Based on the response of refusal accounting request, generation records accounting request
For the log information of illegal request, the reason of to stop to corporate client displaying charging process.
In an optional example, after accounting request is recorded as the log information of illegal request by generation, the party
Method further includes:The log information is shown to the corporate client for logging in far management system.
Second aspect, provides the charging method of another terminal applies, and this method includes:Receive Software Development Kit
The authentication information for the second safety certification that SDK is sent;According to the authentication information of the second safety certification, security certification result is obtained,
To trigger SDK Acceleration of starting services, the authentication information of the second safety certification includes waiting for charging application identities;It receives and accelerates server
The accounting request of transmission, accounting request include the authentication information of metering data and the first safety certification;By the first safety certification
Authentication information is matched with the authentication information of the first safety certification to prestore;If successful match, it is determined that metering data is mesh
Mark metering data;Billing statistics are carried out to target metering data, generate statistical data.As it can be seen that this method passes through SDK and charging pipe
The authentication process of reason system ensure that the legitimacy for accelerating service, and the mirror by accelerating server and far management system
Power process ensure that the validity for the metering data for accelerating server to report, to ensure that the interests of corporate client.
In an optional example, metering data is that the business datum for accelerating server to treat charging application carries out charging
Information collection and the data obtained, the authentication information of the first safety certification include accelerating server identification.
In an optional example, according to the authentication information of the second safety certification, authentication result is obtained, including:By
The authentication information of two safety certifications is matched with the authentication information of the second safety certification to prestore;If successful match triggers
SDK Acceleration of starting services, to carry out billing statistics.Which provides a kind of a kind of mode obtaining authentication result.
The third aspect, provides a kind of acceleration service unit, which may include:
Receiving unit, for receiving the business datum for waiting for charging application and wait for charging application identities that SDK is sent.
Collecting unit, the acquisition for carrying out charge information to business datum, obtains the metering data of business datum.
Transmission unit, for sending accounting request to far management system, accounting request includes metering data and the first peace
The authentication information accounting request of full certification is for asking far management system to carry out billing statistics to target metering data.
In an optional example, the authentication information of first safety certification includes described device mark, the first peace
The authentication information of full certification determines that metering data is target metering data for far management system.
In an optional example, wait for that charging application identities are to wait for that charging is identified using affiliated corporate client.
In an optional example, transmission unit, for being sent to far management system after the first preset time period
Accounting request.
In an optional example, which further includes generation unit.Receiving unit is additionally operable to receive accounting management system
The response for the refusal accounting request sent of uniting;Generation unit is generated for the response based on refusal accounting request by accounting request
It is recorded as the log information of illegal request.
In an optional example, which further includes:Display unit, display unit is used to generate in generation unit will
Accounting request is recorded as after the log information of illegal request, shows that the daily record is believed to the corporate client for logging in far management system
Breath.
Fourth aspect provides a kind of billing management apparatus, which includes:
Receiving unit, the authentication information for receiving the second safety certification that Software Development Kit SDK is sent.
Acquiring unit obtains security certification result, is opened with triggering SDK for the authentication information according to the second safety certification
Dynamic to accelerate service, the authentication information of the second safety certification is including waiting for charging application identities.
Receiving unit is additionally operable to receive the accounting request for accelerating server to send, and accounting request includes metering data and the
The authentication information of one safety certification.
Matching unit, for by the authentication information of the first safety certification and the authentication information of the first safety certification to prestore into
Row matching.
Determination unit, if being used for successful match, it is determined that metering data is target metering data.
Statistic unit generates statistical data for carrying out billing statistics to target metering data.
In an optional example, metering data is that the business datum for accelerating server to treat charging application carries out charging
Information collection and the data obtained, the authentication information of the first safety certification include accelerating server identification.
In an optional example, acquiring unit, for by the authentication information of the second safety certification and prestore second
The authentication information of safety certification is matched;If successful match, it is determined that billing statistics are carried out, SDK Acceleration of starting services are triggered,
To carry out billing statistics.
5th aspect, provides a kind of charge system, which includes accelerating server and far management system.Wherein,
Accelerate server and far management system for executing charging method as described above.
In the embodiment of the present application, accelerate server side, what the acceleration server reception SDK that execution acceleration services was sent waits counting
Take the business datum of application and after the corporate client mark of charging application, the acquisition of charge information is carried out to business datum, is obtained
To the metering data of business datum, it is rear send accounting request to far management system, accounting request includes metering data and the
The authentication information of one safety certification so that far management system determine metering data be target metering data after, to target meter
Take data and carries out billing statistics.When charging applies in operating status, this method passes through acceleration server and completes charging number
According to acquisition and report work, reduce terminal applies performance loss.Meanwhile far management system side, it is opened in charging process
Before dynamic, first by the legitimacy serviced with the SDK authentication processes in terminal applies, determining verification acceleration, later again by adding
The authentication process of fast server and far management system ensure that the validity for the metering data for accelerating server to report, and ensure
The interests of corporate client.
Description of the drawings
Fig. 1 is the flow diagram of the charging method of existing terminal applies;
Fig. 2 is the system framework figure that the charging method of terminal applies provided in an embodiment of the present invention is applied;
Fig. 3 is a kind of charging method flow diagram of terminal applies provided in an embodiment of the present invention;
Fig. 4 is the charging method flow diagram of another terminal applies provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram accelerating service unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of billing management apparatus provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
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 describes, it is clear that described embodiment is only some embodiments of the present application, is not whole embodiment.Based on this
Apply for embodiment, 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.
The charging method of terminal applies provided in an embodiment of the present invention can be applied in the system framework described in Fig. 2, should
System may include terminal, accelerate service platform and bill management plateform.Wherein, terminal wait for charging application in be embedded with SDK, add
Fast service platform and bill management plateform are located on Cloud Server.
SDK is used to wait for that the business datum of charging application to be forwarded to acceleration server, waits for that charging application can be wechat, QQ
Deng.SDK is corporate client embedded SDK for accelerating service facility in the terminal applies that oneself is developed.
Service platform is accelerated to accelerate server cluster to constitute by distribution.The acceleration server in service platform is accelerated to be used for
The business datum of reception is provided and accelerates service.It may include billing data acquisition module and reporting module, meter to accelerate server
Take acquisition of the data acquisition module for carrying out charge information to the business datum of acceleration, obtain metering data, reporting module is used
In metering data is real-time or timing is reported to far management system.It can have the function of billing data acquisition to accelerate server
With the CDN of reporting functions.
Far management system is used for the acceleration service to SDK and carries out purview certification and control, is carried to accelerating server to issue
For the configuration information for accelerating to service, and the metering data of reception is counted and shown, far management system includes can
Corporate client mark belonging to the application identities of management, application identities and accelerate server identification.
Terminal involved by the embodiment of the present invention may include the mobile device for having wireless communication function, such as hand-held to set
Standby, mobile unit, wearable device and computing device, the other processing equipments for being connected to radio modem, various shapes
The user equipment of formula, mobile station (Mobile station, MS) etc..
The course of work of the system is as follows:
It executes and the acceleration server of service is accelerated to receive the business datum for waiting for charging application and wait for charging application that SDK is sent
After mark, the acquisition of charge information is carried out to business datum, obtains the metering data of business datum.Accelerate server to meter later
Take management system and send accounting request, accounting request includes the authentication information of metering data and the first safety certification, the first safety
The authentication information of certification may include accelerating server identification, for far management system according to server identification is accelerated, really
It is target metering data to determine metering data.Far management system carries out billing statistics to target metering data, wherein waits for that charging is answered
Can also be to wait for that charging is identified using affiliated corporate client with mark, corporate client is identified as the developer's for waiting for charging application
Account or title.
Far management system receives the authentication information of the second safety certification of SDK transmissions before starting billing statistics;Root
According to the authentication information of the second safety certification, security certification result is obtained, if security certification result passes through for certification, it is determined that carry out
Billing statistics, wherein the authentication information of the second safety certification includes waiting for charging application identities.
As it can be seen that compared with prior art, when charging applies in operating status, the embodiment of the present invention passes through acceleration and takes
Business device completes the acquisition of metering data and reports work, reduces the performance loss of terminal applies, by SDK and accounting management system
The authentication process of system, ensure that the legitimacy for accelerating service, and the authentication by accelerating server and far management system
Journey ensure that the validity for the metering data for accelerating server to report, to ensure that the interests of corporate client.
The preferred embodiment of the application is illustrated below in conjunction with Figure of description, it should be understood that described herein
Preferred embodiment is only used for describing and explaining the application, is not used to limit the application, and in the absence of conflict, this Shen
Please in embodiment and embodiment in feature can be combined with each other.
Fig. 3 is a kind of charging method flow diagram of terminal applies provided in an embodiment of the present invention.As shown in figure 3, should
The executive agent of method can make the acceleration server, this method may include:
Step 310 receives the business datum for waiting for charging application and wait for charging application identities that SDK is sent.
Before executing the step, after charging application is activated, SDK sends the second safety certification to far management system
Authentication information, the authentication information of the second safety certification includes waiting for charging application identities.
Far management system obtains security certification result according to the authentication information of the second safety certification, with determine whether into
Row billing statistics.The process of safety certification can be:Far management system will wait for that charging application identities and far management system are pre-
The application identities deposited are matched.When charging application identities and the application identities successful match to prestore, authenticate successfully.Charging
Management system, which sends to open to SDK, accelerates service instruction information, carries out billing statistics.Wherein, the instruction letter for accelerating service is opened
Breath may include the corporate client mark for waiting for charging application.
As it can be seen that being authenticated to the acceleration service of SDK by far management system, far management system can verify currently
The legitimacy of SDK Acceleration of starting services, it is legal when successfully indicating the service of SDK Acceleration of starting to authenticate.If failed authentication, charging
Management system can control SDK and service is accelerated to close, to accelerating the abnormal conditions of service to control, to be treated to strengthen
The monitoring of charging application, facilitates the operation and maintenance of the application.Meanwhile far management system sends to acceleration server and matches confidence
Breath, the configuration information is for accelerating server configuration to accelerate service.
It should be noted that when charging application identities match unsuccessful with the mark of the application to prestore, failed authentication,
Show that far management system cannot wait for this charging application carries out accounting management.Far management system sends failed authentication to SDK
Instruction information, the business datum of terminal applies will be transmitted and interact according to original transmission mode by SDK.As it can be seen that should
Authentication process improves the reliability of service operation, and the business datum is not included in effective traffic data, ensure that enterprise visitor
The interests at family.
Step 310 is returned to, after SDK opens acceleration service, the acceleration service that server can receive SDK transmissions is accelerated to ask
It asks, which includes waiting for the business datum of charging application and waiting for charging application identities.Wherein, charging application identities are waited for
As charging identifier, wherein wait for that charging application identities can also be to wait for that charging is identified using affiliated corporate client.
As it can be seen that by business datum and waiting for charging while carrying out accelerating to service to the business datum of terminal applies using SDK
Application identities are forwarded to acceleration server, i.e., the relevant operation of charging are transferred to acceleration server, reduce terminal applies
Performance is lost.
Step 320, the acquisition that charge information is carried out to business datum, obtain the metering data of the business datum.
When it is normal service state to accelerate service, server is accelerated to send the response for receiving to accelerate service request to SDK,
Accelerate server to carry out the acquisition of charge information to business datum, obtain the metering data of the business datum, charge information can be with
The information such as by reference in size of data, data type, data including business datum.
In one example, when business datum is Voice traffic data, server is accelerated to carry out Voice traffic data
The acquisition of charge information, obtain metering data include data type be voice data, size of data 6M, in data by reference
Domain name is A.
Optionally, when it is exception service state to accelerate service, accelerate server to send just refusal to SDK and service is accelerated to ask
The response asked, accelerates server refusal to carry out the acquisition of charge information to business datum at this time, and SDK will be according to by the business datum
Original transmission mode is transmitted and interacts, and original transmission mode is business datum not using the transmission side for accelerating service
Formula.
As it can be seen that when it is exception service state to accelerate service, server is accelerated not carry out charge information to the business datum
Acquisition, i.e., be not included in effective metering data, ensure that the validity of metering data, ensure that the interests of corporate client.
Step 330 sends accounting request to far management system, and accounting request includes metering data and the first safety certification
Authentication information, accounting request for ask far management system to metering data carry out billing statistics.
The authentication information of first safety certification includes the acceleration server identification, is added according to this for far management system
Fast server identification, determine metering data be target metering data, accounting request by ask far management system to target based on
Take data and carries out billing statistics.
After collecting metering data, accelerate server can be according to current working status, such as idle state or busy shape
State sends accounting request to far management system in real time, or sends and count to far management system after the first preset time period
Take request, i.e. timing sends accounting request to far management system, avoids accelerating server caused charging under busy condition
The case where data report unsuccessfully occurs, and improves the stability of charging flow.
Authentication information of the far management system based on the first safety certification in accounting request, by the acceleration server of reception
It identifies and is matched with the acceleration server identification to prestore.
When the acceleration server identification of reception and the acceleration server identification successful match to prestore, authenticate successfully, charging
Management system determines that metering data is target metering data (or legal metering data), and receives meter to OverDrive Processor ODP transmission
Take the response of request.As it can be seen that the authentication process by accelerating server and far management system, ensure that and server is accelerated to report
Metering data validity, avoid and illegally the behavior with steal information pretended to be to occur.
Later, far management system carries out billing statistics to target metering data, generates statistical data, wherein statistical number
According to can be bandwidth value or flow value needed for business datum.When corporate client logs in far management system, accounting management system
System can show the statistical data to corporate client.
Optionally, when the acceleration server identification of reception matches unsuccessful with the acceleration server identification to prestore, charging
Management system determines that metering data is non-targeted metering data (or illegal metering data), and far management system is serviced to acceleration
Device sends the response of refusal accounting request.
Accelerate server to be based on refusal accounting request response, generates the daily record letter that accounting request is recorded as to illegal request
Breath.When corporate client, which logs in, accelerates server, server is accelerated to show the log information to corporate client, with to corporate client
Displaying charging process stops since accounting request is rejected.
In the above-described embodiments, accelerate server side, what the acceleration server reception SDK that execution acceleration services was sent waits counting
Take the business datum of application and after the corporate client mark of charging application, the acquisition of charge information is carried out to business datum, is obtained
To the metering data of business datum, it is rear send accounting request to far management system, accounting request includes metering data and the
The authentication information of one safety certification so that far management system determine metering data be target metering data after, to target meter
Take data and carries out billing statistics.When charging applies in operating status, this method passes through acceleration server and completes charging number
According to acquisition and report work, reduce terminal applies performance loss.Meanwhile far management system side, it is opened in charging process
Before dynamic, first by the legitimacy serviced with the SDK authentication processes in terminal applies, determining verification acceleration, later again by adding
The authentication process of fast server and far management system ensure that the validity for the metering data for accelerating server to report, and ensure
The interests of corporate client.
Below by accelerate server acceleration service be normal service state for, be described in detail.
Fig. 4 is the charging method flow diagram of another terminal applies provided in an embodiment of the present invention.As shown in figure 4,
This method may include:
Step 401, far management system receive the authentication information for the second safety certification that SDK is sent, the second safety certification
Authentication information include wait for charging application identities.
After charging application is activated, SDK to far management system send the second safety certification authentication information, second
The authentication information of safety certification is used to verify the legitimacy of SDK Acceleration of starting services.The authentication information of second safety certification includes
Wait for charging application identities.
Step 402, far management system will wait for that charging application identities are matched with the application identities to prestore, if matching at
Work(thens follow the steps 403, if matching is unsuccessful, thens follow the steps 404.
Far management system searches and waits for the matched mark of charging application identities in the application identities to prestore, if searching
It arrives, then successful match, if searching less than matching unsuccessful.
Step 403, far management system to SDK send open accelerate service instruction information, while to accelerate server
Configuration information is sent, executes step 405 later.
When charging application identities and the application identities successful match to prestore, authenticate successfully, far management system is to SDK
The instruction information opened and accelerate service is sent, is opened for instruction SDK and accelerates service, matches confidence to accelerating server to send
Breath accelerates service for accelerating server to provide.
Step 404 accelerates server to receive the business datum for waiting for charging application and wait for charging application identities that SDK is sent.
Step 405 accelerates server to be based on configuration information, carries out acceleration service to business datum and charge information is adopted
Collection obtains metering data.
Step 406 accelerates server to send accounting request to far management system, and accounting request includes metering data and the
The authentication information of one safety certification.
The authentication information of first safety certification includes waiting for charging application identities and acceleration server identification.
Step 407, far management system by above-mentioned authentication information acceleration server identification and the acceleration service that prestores
Device mark is matched, if successful match, is thened follow the steps 408, if matching is unsuccessful, is thened follow the steps 410.
Step 408, far management system determine receive metering data be target metering data, to target metering data into
Row billing statistics generate statistical data.
Step 409, far management system terminate charging flow to the response for accelerating server transmission to receive accounting request.
Step 410, far management system determine that metering data is non-targeted metering data, execute step 411 later.
Step 411, far management system send the response of refusal accounting request to acceleration server.
Step 412 accelerates server based on the response of refusal accounting request, generates accounting request being recorded as illegal request
Log information, terminate charging flow.
To sum up, accelerate server side, execute and the acceleration server of service is accelerated to receive the industry for waiting for charging application that SDK is sent
Data of being engaged in carry out business datum the acquisition of charge information, obtain business datum with after the corporate client mark of charging application
Metering data, it is rear to far management system send accounting request, accounting request includes metering data and the first safety certification
Authentication information so that far management system determine metering data be target metering data after, to target metering data carry out
Billing statistics.When charging using it is in operating status when, this method by accelerate server complete metering data acquisition and
Work is reported, the performance loss of terminal applies is reduced.Meanwhile far management system side, it is logical first before charging process startup
It crosses and accelerates the legitimacy of service with the SDK authentication processes in terminal applies, determining verification, pass through again accelerate server and meter later
The authentication process for taking management system ensure that the validity for the metering data for accelerating server to report, ensure that corporate client
Interests.
Corresponding with the above method, the embodiment of the present invention also provides a kind of acceleration service unit, which is located at cloud service
In device, as described in Figure 5, which may include:Receiving unit 510, collecting unit 520 and transmission unit 530.
Receiving unit 510, for receive SDK transmission wait for charging application business datum and wait for charging application wait for charging
Application identities.
Collecting unit 520, the acquisition for carrying out charge information to business datum, obtains the metering data of business datum.
Transmission unit 530, for sending accounting request to far management system, accounting request includes metering data and first
The authentication information of the authentication information of safety certification, the first safety certification includes and the device identification authentication of the first safety certification
Information, according to the device identification, determines that metering data is target metering data, accounting request is for asking for far management system
Far management system is asked to carry out billing statistics to target metering data.
Optionally, the authentication information of the first safety certification includes accelerating server identification, the authentication letter of the first safety certification
Breath determines that metering data is target metering data for far management system.
Optionally, transmission unit 530 are asked specifically for sending charging to far management system after the first preset time period
It asks.
Optionally, which further includes generation unit 540.
Receiving unit 510 is additionally operable to receive the response for the refusal accounting request that far management system is sent.
Generation unit 540 generates accounting request being recorded as illegal request for the response based on refusal accounting request
Log information.
Optionally, which can also include display unit 550.
Display unit 550, for generation unit 540 generate by accounting request be recorded as illegal request log information it
Afterwards, the log information is shown to the corporate client for logging in the device.
It follows that execute accelerate service accelerations server receive SDK send wait for charging application business datum with
After the corporate client mark of charging application, the acquisition of charge information is carried out to business datum, obtains the charging number of business datum
According to, it is rear send accounting request to far management system, accounting request includes the authentication letter of metering data and the first safety certification
Breath, so that far management system carries out billing statistics after determining that metering data is target metering data, to target metering data.
When charging applies in operating status, this method completes the acquisition of metering data by acceleration server and reports work,
Reduce the performance loss of terminal applies.
Corresponding with the above method, the embodiment of the present invention also provides a kind of billing management apparatus, which is located at cloud service
In device, as described in Figure 6, which may include:Receiving unit 610, acquiring unit 620, matching unit 630, determination unit 640
With statistic unit 650.
Receiving unit 610, the authentication information for receiving the second safety certification that Software Development Kit SDK is sent.
Acquiring unit 620 obtains security certification result, to trigger SDK for the authentication information according to the second safety certification
Acceleration of starting service, the authentication information of the second safety certification include waiting for charging application identities.
Receiving unit 610, be additionally operable to receive accelerate server send accounting request, accounting request include metering data and
The authentication information of first safety certification.
Matching unit 630, for believing the authentication of the authentication information of the first safety certification and the first safety certification to prestore
Breath is matched.
Determination unit 640, if being used for successful match, it is determined that metering data is target metering data.
Statistic unit 650 generates statistical data for carrying out billing statistics to the target metering data.
Optionally, metering data obtains for the business datum progress charge information acquisition for accelerating server to treat charging application
The data taken, the authentication information of the first safety certification include accelerating server identification.
Optionally, acquiring unit 620, specifically for recognizing the authentication information of the second safety certification with the second safety to prestore
The authentication information of card is matched;If successful match, triggers SDK Acceleration of starting services and carry out billing statistics.
It follows that when charging applies in operating status, pass through the acquisition for accelerating server to complete metering data
With report work, reduce terminal applies performance loss, by the authentication process of SDK and far management system, ensure that plus
The legitimacy of speed service, and the authentication process by accelerating server and far management system, ensure that and accelerate on server
The validity of the metering data of report, to ensure that the interests of corporate client.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in fig. 7, comprises processor 710, communication interface 720,
Memory 730 and communication bus 740, wherein processor 710, communication interface 720, memory 730 are complete by communication bus 740
At mutual communication.
Memory 730, for storing computer program;
Processor 710 when for executing the program stored on memory 730, realizes each functional unit in Fig. 5 or Fig. 6
Implementation procedure.
As it can be seen that when charging applies in operating status, server is accelerated to complete the acquisition of metering data and report work
Make, reduces the performance loss of terminal applies, by the authentication process of SDK and far management system, ensure that and accelerate service
Legitimacy, and the authentication process by accelerating server and far management system, ensure that the charging for accelerating server to report
The validity of data, to ensure that the interests of corporate client.
In another embodiment provided by the present application, a kind of charge system is additionally provided, which may include in Fig. 3
Accelerate server and far management system.
In another embodiment provided by the present application, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any institute in above-described embodiment
The charging method for the terminal applies stated.
In another embodiment provided by the present application, a kind of computer program product including instruction is additionally provided, when it
When running on computers so that computer executes the charging method of any terminal applies in above-described embodiment.
It should be understood by those skilled in the art that, the embodiment in the embodiment of the present application can be provided 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, it wherein includes meter to be can be used in the embodiment of the present application in one or more
The computer-usable storage medium of calculation machine usable program code (includes but not limited to magnetic disk storage, CD-ROM, optical memory
Deng) on the form of computer program product implemented.
It is with reference 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 flow and/or box in each flow and/or block and flowchart and/or the block diagram in block diagram.It can carry
For the processing of these computer program instructions to all-purpose computer, special purpose computer, Embedded Processor or other programmable datas
The processor of equipment is to generate a machine so that is executed by computer or the processor of other programmable data processing devices
Instruction generation refer to for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of fixed function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of 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 count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows 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
It is to include preferred embodiment and fall into all change and modification of 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 it is also intended in the embodiment of the present application
It includes these modifications and variations.
Claims (19)
1. a kind of charging method of terminal applies, which is characterized in that the method includes:
It receives the business datum for waiting for charging application that Software Development Kit SDK is sent and described waits for charging application identities;
The acquisition that charge information is carried out to the business datum, obtains the metering data of the business datum;
Accounting request is sent to far management system, the accounting request includes the mirror of the metering data and the first safety certification
Information is weighed, the accounting request is for asking the far management system to carry out billing statistics to the target metering data.
2. the method as described in claim 1, which is characterized in that the authentication information of first safety certification includes accelerating to service
Device identifies, and the authentication information of first safety certification determines that the metering data is based on target by the far management system
Take data.
3. the method as described in claim 1, which is characterized in that described to wait for that charging application identities are to wait for that affiliated enterprise is applied in charging
Industry customer ID.
4. the method as described in claim 1, which is characterized in that it is described to send accounting request to far management system, including:
After the first preset time period accounting request is sent to the far management system.
5. method as described in claim 1 or 4, which is characterized in that after the transmission accounting request to far management system,
The method further includes:
Receive the response for the refusal accounting request that the far management system is sent;
Based on the response of the refusal accounting request, the log information that the accounting request is recorded as to illegal request is generated.
6. method as claimed in claim 5, which is characterized in that the response based on the refusal accounting request, generating will
The accounting request is recorded as after the log information of illegal request, and the method further includes:
The log information is shown to the corporate client for accelerating server is logged in.
7. a kind of charging method of terminal applies, which is characterized in that the method includes:
Receive the authentication information for the second safety certification that Software Development Kit SDK is sent;
According to the authentication information of second safety certification, security certification result is obtained, to trigger SDK Acceleration of starting services, institute
The authentication information for stating the second safety certification includes waiting for charging application identities;
The accounting request for accelerating server to send is received, the accounting request includes the authentication of metering data and the first safety certification
Information;
The authentication information of first safety certification is matched with the authentication information of the first safety certification to prestore;
If successful match, it is determined that the metering data is target metering data;
Billing statistics are carried out to the target metering data, generate statistical data.
8. the method for claim 7, which is characterized in that the metering data is treated charging for the acceleration server and answered
Business datum carries out charge information acquisition and the data that obtain, and the authentication information of first safety certification includes accelerating to take
Business device mark.
9. the method for claim 7, which is characterized in that the authentication information according to second safety certification obtains
Authentication result is taken, including:
The authentication information of second safety certification is matched with the authentication information of the second safety certification to prestore;
If successful match, SDK Acceleration of starting services are triggered, to carry out billing statistics.
10. a kind of acceleration service unit, which is characterized in that described device includes:
Receiving unit, for receiving the business datum for waiting for charging application that Software Development Kit SDK is sent and described waiting for charging
Application identities;
Collecting unit, the acquisition for carrying out charge information to the business datum, obtains the metering data of the business datum;
Transmission unit, for sending accounting request to far management system, the accounting request includes the metering data and the
The authentication information of one safety certification, the accounting request for ask the far management system to the target metering data into
Row billing statistics.
11. device as claimed in claim 10, which is characterized in that the authentication information of first safety certification includes the dress
Mark is set, the authentication information of first safety certification is used for the far management system, determines that the metering data is target
Metering data.
12. device as claimed in claim 10, which is characterized in that described to wait for that charging application identities are to wait for charging using affiliated
Corporate client identifies.
13. device as claimed in claim 10, which is characterized in that the transmission unit, for after the first preset time period
Accounting request is sent to the far management system.
14. the device as described in claim 10 or 13, which is characterized in that described device further includes generation unit;
The receiving unit is additionally operable to receive the response for the refusal accounting request that the far management system is sent;
The generation unit, for the response based on the refusal accounting request, the accounting request is recorded as illegally by generation
The log information of request.
15. device as claimed in claim 14, which is characterized in that described device further includes display unit;
The display unit, for generating the log information that the accounting request is recorded as to illegal request in the generation unit
Later, the log information is shown to the corporate client for logging in described device.
16. a kind of billing management apparatus, which is characterized in that described device includes:
Receiving unit, the authentication information for receiving the second safety certification that Software Development Kit SDK is sent;
Acquiring unit obtains security certification result, is opened with triggering SDK for the authentication information according to second safety certification
Dynamic to accelerate service, the authentication information of second safety certification is including waiting for charging application identities;
The receiving unit is additionally operable to receive the accounting request for accelerating server to send, and the accounting request includes metering data
With the authentication information of the first safety certification;
Matching unit, for by the authentication information of first safety certification and the authentication information of the first safety certification to prestore into
Row matching;
Determination unit, if being used for successful match, it is determined that the metering data is target metering data;
Statistic unit generates statistical data for carrying out billing statistics to the target metering data.
17. device as claimed in claim 16, which is characterized in that the metering data is that the acceleration server treats charging
The business datum of application carries out charge information acquisition and the data that obtain, and the authentication information of first safety certification includes accelerating
Server identification.
18. device as claimed in claim 16, which is characterized in that the acquiring unit is used for second safety certification
Authentication information matched with the authentication information of the second safety certification to prestore;
If successful match, it is determined that carry out billing statistics, SDK Acceleration of starting services are triggered, to carry out billing statistics.
19. a kind of charge system, which is characterized in that the system comprises perform claims to require any one of 1 to 6 charging method
Server and perform claim is accelerated to require the far management system of any one of 7 to 9 charging methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810072792.1A CN108366176B (en) | 2018-01-25 | 2018-01-25 | Charging method, device and system for terminal application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810072792.1A CN108366176B (en) | 2018-01-25 | 2018-01-25 | Charging method, device and system for terminal application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108366176A true CN108366176A (en) | 2018-08-03 |
CN108366176B CN108366176B (en) | 2020-07-10 |
Family
ID=63006909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810072792.1A Expired - Fee Related CN108366176B (en) | 2018-01-25 | 2018-01-25 | Charging method, device and system for terminal application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108366176B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450991A (en) * | 2018-10-19 | 2019-03-08 | 网宿科技股份有限公司 | Data transmission acceleration method, relevant device and acceleration system based on mobile application |
CN109756857A (en) * | 2019-01-04 | 2019-05-14 | 中国联合网络通信集团有限公司 | A kind of charging method and system accelerated based on mobile network |
CN110930185A (en) * | 2019-11-15 | 2020-03-27 | 新华三技术有限公司 | Tester management method, system and device |
CN111309758A (en) * | 2020-01-19 | 2020-06-19 | 北京金堤科技有限公司 | Charging data verification and comparison method and device |
CN114584398A (en) * | 2022-04-28 | 2022-06-03 | 新华三人工智能科技有限公司 | Charging management method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132291A (en) * | 2006-08-26 | 2008-02-27 | 华为技术有限公司 | Charging system, charging point and method for charging point reporting user's charging information |
CN101325780A (en) * | 2007-06-15 | 2008-12-17 | 华为技术有限公司 | Method and system for implementing tactics control, entity for executing tactics and charging |
CN101800964A (en) * | 2009-02-10 | 2010-08-11 | 华为软件技术有限公司 | Charging method, device and system as well as content/service server |
CN103248495A (en) * | 2012-02-10 | 2013-08-14 | 中国移动通信集团公司 | In-app paying method, server, client side and system |
CN103634773A (en) * | 2013-11-25 | 2014-03-12 | 华为技术有限公司 | Safe charging implementation method and device |
CN103826213A (en) * | 2012-11-16 | 2014-05-28 | 深圳市华营数字商业有限公司 | Application program charging point generation, protection and verification method based on digital signature |
CN106572453A (en) * | 2015-10-09 | 2017-04-19 | 中国电信股份有限公司 | Content charging method, charging network element, SP server and charging system |
-
2018
- 2018-01-25 CN CN201810072792.1A patent/CN108366176B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132291A (en) * | 2006-08-26 | 2008-02-27 | 华为技术有限公司 | Charging system, charging point and method for charging point reporting user's charging information |
CN101325780A (en) * | 2007-06-15 | 2008-12-17 | 华为技术有限公司 | Method and system for implementing tactics control, entity for executing tactics and charging |
CN101800964A (en) * | 2009-02-10 | 2010-08-11 | 华为软件技术有限公司 | Charging method, device and system as well as content/service server |
CN103248495A (en) * | 2012-02-10 | 2013-08-14 | 中国移动通信集团公司 | In-app paying method, server, client side and system |
CN103826213A (en) * | 2012-11-16 | 2014-05-28 | 深圳市华营数字商业有限公司 | Application program charging point generation, protection and verification method based on digital signature |
CN103634773A (en) * | 2013-11-25 | 2014-03-12 | 华为技术有限公司 | Safe charging implementation method and device |
CN106572453A (en) * | 2015-10-09 | 2017-04-19 | 中国电信股份有限公司 | Content charging method, charging network element, SP server and charging system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450991A (en) * | 2018-10-19 | 2019-03-08 | 网宿科技股份有限公司 | Data transmission acceleration method, relevant device and acceleration system based on mobile application |
CN109756857A (en) * | 2019-01-04 | 2019-05-14 | 中国联合网络通信集团有限公司 | A kind of charging method and system accelerated based on mobile network |
CN109756857B (en) * | 2019-01-04 | 2021-07-20 | 中国联合网络通信集团有限公司 | Charging method and system based on mobile network acceleration |
CN110930185A (en) * | 2019-11-15 | 2020-03-27 | 新华三技术有限公司 | Tester management method, system and device |
CN111309758A (en) * | 2020-01-19 | 2020-06-19 | 北京金堤科技有限公司 | Charging data verification and comparison method and device |
CN111309758B (en) * | 2020-01-19 | 2024-02-13 | 北京金堤科技有限公司 | Charging data verification comparison method and device |
CN114584398A (en) * | 2022-04-28 | 2022-06-03 | 新华三人工智能科技有限公司 | Charging management method and system |
Also Published As
Publication number | Publication date |
---|---|
CN108366176B (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108366176A (en) | A kind of charging method of terminal applies, apparatus and system | |
CN106101258B (en) | Interface calling method, device and system of hybrid cloud | |
CN104618226B (en) | A kind of information processing method, client and server | |
CN109802941A (en) | A kind of login validation method, device, storage medium and server | |
CN108711006B (en) | Income management method, management node, system and storage equipment | |
CN109639719B (en) | Identity verification method and device based on temporary identifier | |
CN109309666A (en) | Interface security control method and terminal device in a kind of network security | |
CN110602056B (en) | Service parameter transmission method and device | |
CN104933207B (en) | The acquisition methods and system of user behavior data in application program | |
CN111654395B (en) | Voting information processing method, device, equipment and storage medium | |
CN105991709A (en) | Cloud desktop account number management method and apparatus thereof | |
CN112822267B (en) | Data processing method and device based on block chain | |
CN107872588B (en) | Call processing method, related device and system | |
CN115701078B (en) | Cross-chain transaction processing method, device, electronic equipment and storage medium | |
CN106817228A (en) | Data charging method and device | |
CN109286506B (en) | Method, system and device for charging flow | |
CN109150864B (en) | Anti-cheating method and device based on secondary authentication | |
CN112165458B (en) | Real-name authentication method, device and terminal | |
CN108848501B (en) | Number management method and device and server | |
CN112634040A (en) | Data processing method and device | |
CN109214189B (en) | Method, device, storage medium and electronic equipment for identifying program bugs | |
US9961075B2 (en) | Identity based ticketing | |
CN110417851B (en) | Data matching method, hosting platform, storage medium and computer equipment | |
CN111581613A (en) | Account login verification method and system | |
CN105871937A (en) | Data processing method, data processing device and data processing system |
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 |
Granted publication date: 20200710 Termination date: 20220125 |
|
CF01 | Termination of patent right due to non-payment of annual fee |