CN107104806A - Call bill processing method, apparatus and system - Google Patents
Call bill processing method, apparatus and system Download PDFInfo
- Publication number
- CN107104806A CN107104806A CN201710241088.XA CN201710241088A CN107104806A CN 107104806 A CN107104806 A CN 107104806A CN 201710241088 A CN201710241088 A CN 201710241088A CN 107104806 A CN107104806 A CN 107104806A
- Authority
- CN
- China
- Prior art keywords
- file
- main frame
- ticketing
- data base
- local data
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims abstract description 72
- 230000000875 corresponding Effects 0.000 claims description 7
- 238000010276 construction Methods 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 description 9
- 230000004044 response Effects 0.000 description 5
- 238000003860 storage Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- 230000002093 peripheral Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- 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
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1442—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
-
- 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/1453—Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
- H04L12/1457—Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using an account
-
- 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/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network-specific arrangements or communication protocols supporting networked applications
- H04L67/02—Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP]
- H04L67/025—Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP] for remote control or remote monitoring of the application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network-specific arrangements or communication protocols supporting networked applications
- H04L67/06—Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]
-
- 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/31—Distributed metering or calculation of charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Abstract
The present invention provides a kind of call bill processing method, apparatus and system, and wherein method includes:Receive the original bill files that province main frame is sent;Ticketing file is generated according to the original bill files;The ticketing file is preserved to input directory, and is loaded into memory pool;Local data base is called to read memory pool, so that the database of province main frame obtains the ticketing file by the Two-way File transmission channel between local data base.Call bill processing method that the present invention is provided, apparatus and system, realize province collection, the general headquarters' processing of ticket, using the level framework distributed processing mode of general headquarters province two, without the scattered construction ticket processing module in each province, effectively reduce O&M cost, O&M efficiency is improved, is easy to the unified management of mass tickets and is uniformly processed.
Description
Technical field
The present invention relates to the communication technology, more particularly to a kind of call bill processing method, apparatus and system.
Background technology
With continuing to develop for telecommunication industry, the popularization scope of telecommunication service is also more next wide, and current market environment is to electricity
The service content of letter industry, method of service, service quality, management propose higher requirement.
In the prior art, after the ticket acquisition module of each province is acquired to Original CDR, by ticket processing module root
Original CDR is handled according to specification, charging, data analysis business such as are carried out to ticket, then by the CDR file after processing
Headquarters server is sent to be audited, counted and stored.
It is in place of the deficiencies in the prior art, each province is scattered to build bill record collection module and ticket processing module, disperses fortune
Row and maintenance, cause O&M cost higher, O&M inefficiency.
The content of the invention
The present invention provides a kind of call bill processing method, apparatus and system, higher to solve O&M cost in the prior art
Technical problem.
The present invention provides a kind of call bill processing method, including:
Receive the original bill files that province main frame is sent;
Ticketing file is generated according to the original bill files;
The ticketing file is preserved to input directory, and is loaded into memory pool;
Local data base is called to read memory pool, so that the database of province main frame passes through pair between local data base
The ticketing file is obtained to file transmission channel.
Further, call local data base read memory pool so that the database of province main frame by with local data
Two-way File transmission channel between storehouse obtains the ticketing file, including:
Two-way File transmission channel is set up between the database of local data base and province main frame;
Local data base is called to read memory pool, so that the local data base obtains the ticketing text in memory pool
Part;
Billing document upload message is sent to the corresponding province main frame of the ticketing file, so that the province main frame
The ticketing text is obtained by the Two-way File transmission channel according to the billing document upload message notification database
Part.
Further, the original bill files that province main frame is sent are received, including:
Receive the Original CDR upload message that province main frame is sent;
According to the Original CDR upload message, notify double between local data base and the database of the province main frame
Original bill files are obtained to file transmission channel;
The original bill files that local data base is got are searched from memory pool, and the original bill files are preserved
To output directory.
Further, ticketing file is generated according to the original bill files, including:
The original bill files are disassembled, category generates one or more Original CDR;
User profile and duration/bar number information are extracted from the Original CDR;
Search whether the other tickets that there is same subscriber information and duration/bar number information;
If being not present, cost information is determined according to the user profile and duration/bar number information;
The user profile, duration/bar number information and cost information are arranged according to default form, the ticket is generated
Billing document;
The ticketing file is named according to classification, so that the province main frame is according to ticketing text
The ticketing file is stored under respective directories by the title of part;
Wherein, the classification includes at least one of following:Conversational class, short message class, multimedia message class, online class.
The present invention also provides a kind of call bill processing method, including:
The original bill files collected are sent to general headquarters' main frame, so that general headquarters' main frame is according to the Original CDR
File generated ticketing file;
Two-way File transmission channel between the database that notice local data base passes through general headquarters' main frame obtains the words
Single billing document;
The ticket billing document that local data base is got is searched from memory pool, and the ticketing file is preserved
To output directory.
Further, the Two-way File transmission channel between the database that notice local data base passes through general headquarters' main frame is obtained
The ticketing file is taken, including:
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Receive the billing document upload message that general headquarters' main frame is sent;
According to the billing document upload message, local data base is notified to obtain institute by the Two-way File transmission channel
State ticketing file.
Further, the original bill files collected are sent to general headquarters' main frame, including:
The Original CDR collected is stored under input directory, and is loaded into memory pool;
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Local data base is called to read memory pool, so that the local data base obtains the Original CDR text in memory pool
Part;
CDR file upload message is sent to general headquarters' main frame, is disappeared so that general headquarters' main frame is uploaded according to the CDR file
Cease notification database and the original bill files are obtained by the Two-way File transmission channel.
The present invention also provides a kind of ticket processing unit, including:
Receiving module, for receiving the original bill files that province main frame is sent;
Generation module, for generating ticketing file according to the original bill files;
Load-on module, for the ticketing file to be preserved to input directory, and is loaded into memory pool;
Calling module, for call local data base read memory pool so that the database of province main frame by with it is local
Two-way File transmission channel between database obtains the ticketing file.
Further, the calling module specifically for:
Two-way File transmission channel is set up between the database of local data base and province main frame;
Local data base is called to read memory pool, so that the local data base obtains the ticketing text in memory pool
Part;
Billing document upload message is sent to the corresponding province main frame of the ticketing file, so that the province main frame
The ticketing text is obtained by the Two-way File transmission channel according to the billing document upload message notification database
Part.
Further, the receiving module specifically for:
Receive the Original CDR upload message that province main frame is sent;
According to the Original CDR upload message, notify double between local data base and the database of the province main frame
Original bill files are obtained to file transmission channel;
The original bill files that local data base is got are searched from memory pool, and the original bill files are preserved
To output directory.
Further, the generation module specifically for:
The original bill files are disassembled, category generates one or more Original CDR;
User profile and duration/bar number information are extracted from the Original CDR;
Search whether the other tickets that there is same subscriber information and duration/bar number information;
If being not present, cost information is determined according to the user profile and duration/bar number information;
The user profile, duration/bar number information and cost information are arranged according to default form, the ticket is generated
Billing document;
The ticketing file is named according to classification, so that the province main frame is according to ticketing text
The ticketing file is stored under respective directories by the title of part;
Wherein, the classification includes at least one of following:Conversational class, short message class, multimedia message class, online class.
The present invention also provides a kind of ticket processing unit, including:
Sending module, for the original bill files collected to be sent into general headquarters' main frame, so that general headquarters' main frame root
Ticketing file is generated according to the original bill files;
Notification module, for notifying the Two-way File transmission between database that local data base passes through general headquarters' main frame logical
Road obtains the ticketing file;
Acquisition module, for searching the ticket billing document that gets of local data base from memory pool, and by the words
Single billing document is preserved to output directory.
Further, the notification module specifically for:
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Receive the billing document upload message that general headquarters' main frame is sent;
According to the billing document upload message, local data base is notified to obtain institute by the Two-way File transmission channel
State ticketing file.
Further, the sending module specifically for:
The Original CDR collected is stored under input directory, and is loaded into memory pool;
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Local data base is called to read memory pool, so that the local data base obtains the Original CDR text in memory pool
Part;
CDR file upload message is sent to general headquarters' main frame, is disappeared so that general headquarters' main frame is uploaded according to the CDR file
Cease notification database and the original bill files are obtained by the Two-way File transmission channel.
The present invention also provides a kind of ticket processing system, including general headquarters' main frame and province main frame, is respectively arranged with above-mentioned two
Plant ticket processing module.
Call bill processing method that the present invention is provided, apparatus and system, by receiving the Original CDR text that province main frame is sent
Part, generates ticketing file according to the original bill files, the ticketing file is preserved to input directory, and adds
Be downloaded in memory pool, call local data base read memory pool so that the database of province main frame by with local data base it
Between Two-way File transmission channel obtain the ticketing file, province collection, the general headquarters' processing of ticket are realized, using total
The level framework distributed processing mode of portion-province two, builds ticket processing module without each province is scattered, effectively reduce O&M into
This, improves O&M efficiency, is easy to the unified management of mass tickets and is uniformly processed.
Brief description of the drawings
Fig. 1 is the flow chart for the call bill processing method that the embodiment of the present invention one is provided;
Fig. 2 is the flow chart for the call bill processing method that the embodiment of the present invention two is provided;
Fig. 3 is the structured flowchart for the ticket processing unit that the embodiment of the present invention three is provided;
Fig. 4 is the structured flowchart for the ticket processing unit that the embodiment of the present invention four is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in the embodiment of the present application is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." one kind ", " described " and "the" of used singulative are also intended to including many number forms in the embodiment of the present application
Formula, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent
There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising, so that commodity or system including a series of key elements not only include those key elements, but also including without clear and definite
Other key elements listed, or also include for this commodity or the intrinsic key element of system.In the feelings of not more limitations
Under condition, the key element limited by sentence "including a ...", it is not excluded that in the commodity or system including the key element also
There is other identical element.
Embodiment one
The embodiment of the present invention one provides a kind of call bill processing method.Fig. 1 is the ticket processing that the embodiment of the present invention one is provided
The flow chart of method.As shown in figure 1, the method in the present embodiment, can include:
Step 101, the original bill files for receiving the transmission of province main frame.
The executive agent of method can be general headquarters' main frame in the present embodiment.In the present embodiment, ticket processing system can be by
General headquarters' main frame and province main frame are constituted.Each save has the province main frame of oneself, and province main frame is used to gather original bill files
And general headquarters' main frame is sent to, handled by the unified ticket to each province of general headquarters' main frame, and the file after processing is sent to province
Part main frame.
Specifically, each can gather for a period of time can in an original bill files, original bill files for province main frame
So that including multiple Original CDR, the Original CDR can be call ticket, short message ticket or online ticket.In Original CDR
The specifying information of call, short message or online can be included, for example, calling number, called number, the duration of call, short message bar number, on
Net flow etc..
Step 102, according to the original bill files generate ticketing file.
Wherein, ticketing file is that information relevant with charging in original bill files is extracted, and adds phase
The file for the cost information answered.
Preferably, general headquarters' main frame is received after the Original CDR that each province main frame is sent, and can integrate the original of each province
Beginning CDR file is carried out after the completion of re-scheduling, re-scheduling, and original bill files are handled, and generates ticketing file.
Accordingly, ticketing file is generated according to the original bill files in this step, can included:To described
Original bill files are disassembled, and category generates one or more Original CDR, and the classification includes at least one of following:It is logical
Talk about class, short message class, multimedia message class, online class;User profile and duration/bar number information are extracted from the Original CDR;Lookup is
The no other tickets that there is same subscriber information and duration/bar number information;If being not present, according to the user profile with timely
Length/bar number information determines cost information;By the user profile, duration/bar number information and cost information according to default form
Arrangement, generates the ticketing file;The ticketing file is named according to classification, so that the province main frame
The ticketing file is stored under respective directories according to the title of the ticketing file.
Specifically, original bill files are disassembled according to classification, obtains corresponding conversational class Original CDR, short message class
Original CDR, multimedia message class Original CDR and online class Original CDR, it is then possible to the user profile in ticket and duration/bar
Number information is extracted.
The user profile can be related to the user of this ticket, such as calling user information, called user information,
The duration/bar number information can be the information such as the duration of call, short message bar number or online duration.By the Original CDR in each province
Integrating documents carry out re-scheduling to the Original CDR that after together, can integrate each province, if there is same subscriber information and duration/
Other tickets of bar number information, then it is assumed that be to overlap, be back to keeper and handled;If being not present, used according to described
Family information and duration/bar number information determine cost information.
Determine after cost information, the user profile, duration/bar number information and cost information are arranged according to default form
Row, generate the ticketing file.For example, in ticketing file, first is classified as user profile, second be classified as duration/
Bar number information, the 3rd is classified as cost information etc., realizes the standardization of ticketing file, is the use provider in each province
Just.
After preset format generation ticketing file, the ticketing file is named according to classification, example
Such as, conversational class ticketing file is started with " 1 " and named, and short message class ticketing file is started with " 2 " to be named, so that the province
The ticketing file is stored under respective directories by part main frame according to the title of the ticketing file, facilitates province master
Machine carries out the operation such as charging according to ticketing file.
Step 103, the ticketing file preserved to input directory, and be loaded into memory pool.
Step 104, call local data base read memory pool so that the database of province main frame by with local data base
Between Two-way File transmission channel obtain the ticketing file.
Wherein, database can be mounted in general headquarters' main frame and province main frame, it is preferred that database can be distribution
Formula database MongoDB., can be in general headquarters' main frame after all distributed data base is installed between general headquarters' main frame and province main frame
Two-way File transmission channel is set up between the main frame of province.
Specifically, in step 104 call local data base read memory pool so that the database of province main frame by with
Two-way File transmission channel between local data base obtains the ticketing file, can include:Local data base with
Two-way File transmission channel is set up between the database of province main frame;Local data base is called to read memory pool, so that described
Local data base obtains the ticket billing document in memory pool;Charging is sent to the corresponding province main frame of the ticketing file
File upload message, so that the province main frame passes through the two-way text according to the billing document upload message notification database
Part transmission channel obtains the ticketing file.
Ticketing file is put into after memory pool by general headquarters' main frame, and local distributed data base can be called to read internal memory
Pond, and billing document upload message is sent to province main frame, so that the distributed data base that province host computer itself is installed connects
Message in-coming part.Calling local distributed data base to read memory pool and send billing document upload message to province main frame can adopt
Carried out with separated time journey.
Province main frame is received after the billing document upload message of transmission, can according to the billing document upload message,
Local data base is notified to obtain the ticketing file by the Two-way File transmission channel, what local data base was got
Ticketing file is stored in memory pool, it is then possible to search the ticketing that local data base is got from memory pool
File, and the ticketing file is preserved to output directory.
Preferably, ticketing file can be preserved into output directory not according to the title of ticketing file
Under same catalogue, so as to realize that ticketing file is stored according to classification, facility is provided for subsequent charging operation.
Preferably, when ticketing file is loaded into memory pool by general headquarters' main frame, check code can be generated simultaneously,
The check code can be MD5 (Message Digest Algorithm MD5, Message Digest Algorithm 5) check code etc.,
Province main frame downloads the check code while ticketing file is downloaded, then, confirms that file is by verifying
No complete transmission, when such as there is exceptional communication or the imperfect situation of data, can re-start download, until completing the complete of file
Untill whole transmission.If ticketing file is transmitted, province main frame can send to general headquarters' main frame and be transmitted message, institute
State and be transmitted message and include the title of the identification information of ticketing file ticketing file as described, general headquarters master
Machine can delete corresponding ticketing file in memory pool according to the message that is transmitted.
In actual applications, after province main frame collects original bill files, original bill files can be sent to
After general headquarters' main frame, general headquarters' main frame generation ticketing file, using memory pool to local distributed data base, again from local
Distributed data base is into province main frame, same attribute distributed data base transmission means, and ticketing file is passed
Province main frame is defeated by, efficiency of transmission can be effectively improved, the ticket billing document between national 31 provinces+general headquarters' All hosts is met
The requirement of transmission.
The call bill processing method that the present embodiment is provided, by receiving the original bill files that province main frame is sent, according to institute
Original bill files generation ticketing file is stated, the ticketing file is preserved to input directory, and be loaded into internal memory
Chi Zhong, call local data base read memory pool so that the database of province main frame pass through it is two-way between local data base
File transmission channel obtains the ticketing file, province collection, the general headquarters' processing of ticket is realized, using general headquarters-province
Two level framework distributed processing modes, without the scattered construction ticket processing module in each province, effectively reduce O&M cost, improve
O&M efficiency, is easy to the unified management of mass tickets and is uniformly processed.
On the basis of the technical scheme that above-described embodiment is provided, it is preferred that receive the original words that province main frame is sent
Monofile, can include:
Receive the Original CDR upload message that province main frame is sent;According to the Original CDR upload message, notify local
Two-way File transmission channel between the database of database and the province main frame obtains original bill files;From memory pool
The original bill files that local data base is got are searched, and the original bill files are preserved to output directory.
Specifically, when general headquarters' main frame receives the original bill files that province main frame is sent, it would however also be possible to employ Two-way File is passed
Defeated passage carries out the transmission of file.The Original CDR collected can be stored under input directory by province main frame, and be loaded into
Memory pool, then sets up Two-way File transmission channel between the local database of province main frame and the database of general headquarters' main frame,
And call local data base to read memory pool, send CDR file upload message to general headquarters' main frame.
General headquarters' main frame is received after CDR file upload message, can notify data according to the CDR file upload message
Storehouse obtains the original bill files by the Two-way File transmission channel, then, and searching data storehouse is obtained from memory pool
The original bill files arrived, and the original bill files are preserved to output directory.
Two-way File transmission channel between the database that general headquarters' main frame passes through local database and the province main frame
Original bill files, and the original bill files that lookup local data base is got from memory pool are obtained, and will be described original
CDR file is preserved to output directory, can effectively improve the acquisition efficiency of original bill files.
Embodiment two
The embodiment of the present invention two provides a kind of call bill processing method.Fig. 2 is the ticket processing that the embodiment of the present invention two is provided
The flow chart of method.As shown in Fig. 2 the method in the present embodiment, can include:
Step 201, the original bill files collected are sent to general headquarters' main frame, so that general headquarters' main frame is according to described
Original bill files generate ticketing file;
Two-way File transmission channel between the database that step 202, notice local data base pass through general headquarters' main frame is obtained
Take the ticketing file;
Step 203, search the ticket billing document that gets of local data base from memory pool, and by the ticketing
File is preserved to output directory.
The executive agent of call bill processing method can be province main frame in the present embodiment, and it implements principle and embodiment
One is similar, and here is omitted.
The call bill processing method that the present embodiment is provided, by the way that the original bill files collected are sent into general headquarters' main frame,
So that general headquarters' main frame according to the original bill files generate ticketing file, notify local data base by with general headquarters
Two-way File transmission channel between the database of main frame obtains the ticketing file, and local data is searched from memory pool
The ticket billing document that storehouse is got, and the ticketing file is preserved to output directory, the province for realizing ticket is adopted
Collection, general headquarters' processing, using the level framework distributed processing mode of general headquarters-province two, without the scattered construction ticket processing module in each province,
O&M cost is effectively reduced, O&M efficiency is improved, is easy to the unified management of mass tickets and is uniformly processed.
It is possible to further notify the Two-way File transmission between database that local data base passes through general headquarters' main frame logical
Road obtains the ticketing file, including:
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Receive the billing document upload message that general headquarters' main frame is sent;
According to the billing document upload message, notification database obtains the words by the Two-way File transmission channel
Single billing document.
Further, the original bill files collected are sent to general headquarters' main frame, including:
The Original CDR collected is stored under input directory, and is loaded into memory pool;
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Local data base is called to read memory pool, so that the local data base obtains the Original CDR text in memory pool
Part;
CDR file upload message is sent to general headquarters' main frame, is disappeared so that general headquarters' main frame is uploaded according to the CDR file
Cease notification database and the original bill files are obtained by the Two-way File transmission channel.
Embodiment three
The embodiment of the present invention three provides a kind of ticket processing unit.Fig. 3 is the ticket processing that the embodiment of the present invention three is provided
The structured flowchart of device.As shown in figure 3, the device in the present embodiment, can include:
Receiving module 301, for receiving the original bill files that province main frame is sent;
Generation module 302, for generating ticketing file according to the original bill files;
Load-on module 303, for the ticketing file to be preserved to input directory, and is loaded into memory pool;
Calling module 304, for call local data base read memory pool so that the database of province main frame by with this
Two-way File transmission channel between ground database obtains the ticketing file.
The ticket processing unit that the present embodiment is provided, can be arranged in general headquarters' main frame, for performing described in embodiment one
Call bill processing method, it is implemented, and principle is similar with embodiment one, and here is omitted.
The ticket processing unit that the present embodiment is provided, by receiving the original bill files that province main frame is sent, according to institute
Original bill files generation ticketing file is stated, the ticketing file is preserved to input directory, and be loaded into internal memory
Chi Zhong, call local data base read memory pool so that the database of province main frame pass through it is two-way between local data base
File transmission channel obtains the ticketing file, province collection, the general headquarters' processing of ticket is realized, using general headquarters-province
Two level framework distributed processing modes, without the scattered construction ticket processing module in each province, effectively reduce O&M cost, improve
O&M efficiency, is easy to the unified management of mass tickets and is uniformly processed.
Further, the calling module 304 specifically for:
Two-way File transmission channel is set up between the database of local data base and province main frame;
Local data base is called to read memory pool, so that the local data base obtains the ticketing text in memory pool
Part;
Billing document upload message is sent to the corresponding province main frame of the ticketing file, so that the province main frame
The ticketing text is obtained by the Two-way File transmission channel according to the billing document upload message notification database
Part.
Further, the receiving module 301 specifically for:
Receive the Original CDR upload message that province main frame is sent;
According to the Original CDR upload message, notify double between local data base and the database of the province main frame
Original bill files are obtained to file transmission channel;
The original bill files that local data base is got are searched from memory pool, and the original bill files are preserved
To output directory.
Further, the generation module 302 specifically for:
The original bill files are disassembled, category generates one or more Original CDR;
User profile and duration/bar number information are extracted from the Original CDR;
Search whether the other tickets that there is same subscriber information and duration/bar number information;
If being not present, cost information is determined according to the user profile and duration/bar number information;
The user profile, duration/bar number information and cost information are arranged according to default form, the ticket is generated
Billing document;
The ticketing file is named according to classification, so that the province main frame is according to ticketing text
The ticketing file is stored under respective directories by the title of part;
Wherein, the classification includes at least one of following:Conversational class, short message class, multimedia message class, online class.
Example IV
The embodiment of the present invention four provides a kind of ticket processing unit.Fig. 4 is the ticket processing that the embodiment of the present invention four is provided
The structured flowchart of device.As shown in figure 4, the device in the present embodiment, can include:
Sending module 401, for the original bill files collected to be sent into general headquarters' main frame, so that general headquarters' main frame
Ticketing file is generated according to the original bill files;
Notification module 402, for notifying the Two-way File between database that local data base passes through general headquarters' main frame to pass
Defeated passage obtains the ticketing file;
Acquisition module 403, for searching the ticket billing document that local data base is got from memory pool, and will be described
Ticketing file is preserved to output directory.
The ticket processing unit that the present embodiment is provided, can be arranged in the main frame of province, for performing described in embodiment two
Call bill processing method, it is implemented, and principle is similar with embodiment two, and here is omitted.
The ticket processing unit that the present embodiment is provided, by the way that the original bill files collected are sent into general headquarters' main frame,
So that general headquarters' main frame according to the original bill files generate ticketing file, notify local data base by with general headquarters
Two-way File transmission channel between the database of main frame obtains the ticketing file, and local data is searched from memory pool
The ticket billing document that storehouse is got, and the ticketing file is preserved to output directory, the province for realizing ticket is adopted
Collection, general headquarters' processing, using the level framework distributed processing mode of general headquarters-province two, without the scattered construction ticket processing module in each province,
O&M cost is effectively reduced, O&M efficiency is improved, is easy to the unified management of mass tickets and is uniformly processed.
Further, the notification module 403 specifically for:
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Receive the billing document upload message that general headquarters' main frame is sent;
According to the billing document upload message, local data base is notified to obtain institute by the Two-way File transmission channel
State ticketing file.
Further, the sending module 401 specifically for:
The Original CDR collected is stored under input directory, and is loaded into memory pool;
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Local data base is called to read memory pool, so that the local data base obtains the Original CDR text in memory pool
Part;
CDR file upload message is sent to general headquarters' main frame, is disappeared so that general headquarters' main frame is uploaded according to the CDR file
Cease notification database and the original bill files are obtained by the Two-way File transmission channel.
Embodiment five
The embodiment of the present invention five provides a kind of ticket processing system, including general headquarters' main frame and province main frame;Wherein, it is described total
The ticket described in example IV is provided with ticket processing module in portion's main frame described in setting embodiment three, the province main frame
Processing module.
The function of each module is similar with previous embodiment in the present embodiment, and here is omitted.
Uniprocesser system if the present embodiment is provided, including general headquarters' main frame and province main frame, general headquarters' main frame are saved by receiving
The original bill files that part main frame is sent, generate ticketing file, by the ticketing according to the original bill files
File is preserved to input directory, and is loaded into memory pool, calls local data base to read memory pool, so that the number of province main frame
The ticketing file is obtained by the Two-way File transmission channel between local data base according to storehouse, the province of ticket is realized
Part collection, general headquarters' processing, using the level framework distributed processing mode of general headquarters-province two, are handled without the scattered ticket of building in each province
Module, effectively reduces O&M cost, improves O&M efficiency, is easy to the unified management of mass tickets and is uniformly processed.
If the present embodiment is provided in uniprocesser system, province main frame can be connected with collection front end processor, province network element, be led to
Cross collection front end processor and province network element obtains Original CDR, and original bill files are sent to general headquarters' main frame so that movement is resell
Used with 4G chargings.In addition, full dose call bill data in general headquarters' host set, can also supply national business and analysis mining
Use.
In system host server disposition scheme, it is contemplated that the reliability of X86 servers is less than minicomputer server, main
Machine can improve the reliability of system by master redundancy using the deployment of N+2 backup modes.When hardware fault occurs in certain main frame
When, the storage of backup host load fault main frame recovers business.The business datum (ticket, check, daily record etc.) of main frame carry is all
It is placed in disk array reliable memory.
General headquarters' main frame can include following part:(1) database fields, database fields install my sql databases (by Sweden
The Relational DBMS of MySQL AB companies exploitation), bearer service configuration data, monitoring alarm data etc.;(2)
Business processing service is disposed on WEB domains, Web server, is responsible for receiving the request of customer in response end, what is needed is asked to single HTTP
Disposal ability requires relatively low, therefore uses the relatively low blade server of performance;(3) switching domain, switching domain arrangement distributing programs are responsible for
To the systems with data for having demand data;(4) re-scheduling domain, re-scheduling domain arrangement re-scheduling program is responsible for national business ticket
Carry out re-scheduling;(5) storage device, according to the characteristics of data storage, storage device is divided into production inventory and historical storage two-stage.
Province main frame can include following part:(1) domain is gathered, collection domain is responsible for being acquired ticket and pre-processing work
Make;(2) re-scheduling domain, re-scheduling domain arrangement re-scheduling program is responsible for carrying out re-scheduling to ticket.
AGENT (agency) application program can be arranged on general headquarters' main frame, passes through AGENT Application Monitoring applied host machines
State, the processing information of the running status of application process and ticket.Simultaneously in general headquarters' main frame arrangement ROMPaq, alarm journey
The programs such as sequence, monitoring programme.Mainly realize following functions:Province and general headquarters' all working program start-up and shut-down control unification are sent out by interface
Go out;Province and group's all working program upgrading and parameter update and sent by interface;The monitoring heartbeat of program operation is uniformly reported and submitted
The monitoring programme of group;Program operation daily record, alert, check that data uniformly report and submit group's correlation module.
In the present embodiment, general headquarters' main frame can specifically use J2EE Technical Architectures, and specifically, the whole frameworks of J2EE can divide
For performance (Web) layer, Access Layer, service logic (EJB) layer, data Layer.
Presentation layer:Main is exactly to pass through Servlet, FLEX, and the technology such as JSP carries out the programming of the Web components of server end,
And coordinate between client, the data transfer between Business Logic.In B/S structures, the means of realization include:
The technologies such as J2EE JSP, HTML, DHTML, XSLT .NET ASP realizes WEB page.
Access Layer:Access Layer provides unified client for End-Customer and contacts service platform;It is simultaneously other peripheral systems
Real-time, timing batch processing interface is provided with mechanism.Access Layer supports the access such as face-to-face, voice, short message, website, mail, fax
Mode.The technology that Access Layer is realized includes:The technologies such as SOCKET, FTP, HTTP, HTTP/S, IIOP, MQ, also include CORBA,
The interfaces such as WEB SERVICE realize technology.
Business Logic:Mainly by EJB, JMS, the technology such as CORBA come realize more complicated service logic and
Database purchase works, it is possible to pass through container-managed transactions, it is possible to carry out life cycle to the component of Business Logic
Management.
Data Layer:Data Layer is mainly by JDBC, and the technology such as entity B EAN in EJB realizes the operation for database.
In the means that framework is realized, presently the most main flow realizes that technology is the unified framework of exploitation, and application system is
Realized on unified framework.The Open Framework of main flow includes:Struts, Spring, jsf, Hibernate etc. increase income frame
Frame.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of call bill processing method, it is characterised in that including:
Receive the original bill files that province main frame is sent;
Ticketing file is generated according to the original bill files;
The ticketing file is preserved to input directory, and is loaded into memory pool;
Local data base is called to read memory pool, so that the database of province main frame passes through the two-way text between local data base
Part transmission channel obtains the ticketing file.
2. according to the method described in claim 1, it is characterised in that call local data base to read memory pool, so that province master
The database of machine obtains the ticketing file by the Two-way File transmission channel between local data base, including:
Two-way File transmission channel is set up between the database of local data base and province main frame;
Local data base is called to read memory pool, so that the local data base obtains the ticket billing document in memory pool;
Send billing document upload message to the corresponding province main frame of the ticketing file so that the province main frame according to
The billing document upload message notification database obtains the ticketing file by the Two-way File transmission channel.
3. according to the method described in claim 1, it is characterised in that receive the original bill files that province main frame is sent, including:
Receive the Original CDR upload message that province main frame is sent;
According to the Original CDR upload message, the two-way text between local data base and the database of the province main frame is notified
Part transmission channel obtains original bill files;
The original bill files that local data base is got are searched from memory pool, and the original bill files are preserved to defeated
Go out catalogue.
4. the method according to claim any one of 1-3, it is characterised in that generate ticket according to the original bill files
Billing document, including:
The original bill files are disassembled, category generates one or more Original CDR;
User profile and duration/bar number information are extracted from the Original CDR;
Search whether the other tickets that there is same subscriber information and duration/bar number information;
If being not present, cost information is determined according to the user profile and duration/bar number information;
The user profile, duration/bar number information and cost information are arranged according to default form, the ticketing is generated
File;
The ticketing file is named according to classification, so that the province main frame is according to the ticketing file
The ticketing file is stored under respective directories by title;
Wherein, the classification includes at least one of following:Conversational class, short message class, multimedia message class, online class.
5. a kind of call bill processing method, it is characterised in that including:
The original bill files collected are sent to general headquarters' main frame, so that general headquarters' main frame is according to the original bill files
Generate ticketing file;
Two-way File transmission channel between the database that notice local data base passes through general headquarters' main frame obtains the ticket meter
Take file;
The ticket billing document that local data base is got is searched from memory pool, and the ticketing file is preserved to defeated
Go out catalogue.
6. method according to claim 5, it is characterised in that notify local data base to pass through the database with general headquarters main frames
Between Two-way File transmission channel obtain the ticketing file, including:
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Receive the billing document upload message that general headquarters' main frame is sent;
According to the billing document upload message, local data base is notified to obtain the words by the Two-way File transmission channel
Single billing document.
7. the method according to claim 5 or 6, it is characterised in that the original bill files collected are sent to general headquarters
Main frame, including:
The Original CDR collected is stored under input directory, and is loaded into memory pool;
Two-way File transmission channel is set up between the database of local data base and general headquarters' main frame;
Local data base is called to read memory pool, so that the local data base obtains the original bill files in memory pool;
CDR file upload message is sent to general headquarters' main frame, so that general headquarters' main frame is logical according to the CDR file upload message
Primary data storehouse obtains the original bill files by the Two-way File transmission channel.
8. a kind of ticket processing unit, it is characterised in that including:
Receiving module, for receiving the original bill files that province main frame is sent;
Generation module, for generating ticketing file according to the original bill files;
Load-on module, for the ticketing file to be preserved to input directory, and is loaded into memory pool;
Calling module, for call local data base read memory pool so that the database of province main frame by with local data
Two-way File transmission channel between storehouse obtains the ticketing file.
9. a kind of ticket processing unit, it is characterised in that including:
Sending module, for the original bill files collected to be sent into general headquarters' main frame, so that general headquarters' main frame is according to institute
State original bill files generation ticketing file;
Notification module, for notifying the Two-way File transmission channel between database that local data base passes through general headquarters' main frame to obtain
Take the ticketing file;
Acquisition module, for searching the ticket billing document that gets of local data base from memory pool, and by the ticket meter
Expense file is preserved to output directory.
10. a kind of ticket processing system, it is characterised in that including general headquarters' main frame and province main frame;Wherein, in general headquarters' main frame
The ticket being provided with the ticket processing module described in claim 8, the province main frame described in claim 9 is provided with to handle
Module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710241088.XA CN107104806A (en) | 2017-04-13 | 2017-04-13 | Call bill processing method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710241088.XA CN107104806A (en) | 2017-04-13 | 2017-04-13 | Call bill processing method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107104806A true CN107104806A (en) | 2017-08-29 |
Family
ID=59675279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710241088.XA Pending CN107104806A (en) | 2017-04-13 | 2017-04-13 | Call bill processing method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107104806A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880829A (en) * | 2018-05-16 | 2018-11-23 | 北京搜狐新动力信息技术有限公司 | A kind of payment member mall system control method and device |
CN109002559A (en) * | 2018-08-17 | 2018-12-14 | 深圳市海波广告有限公司 | A kind of file management method and system based on public bus network management system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102083042A (en) * | 2009-11-27 | 2011-06-01 | 中国移动通信集团山东有限公司 | Charging method and device of mobile data services |
US20120143737A1 (en) * | 2005-06-06 | 2012-06-07 | Sms.Ac, Inc. | Billing system and method for micro-transactions |
CN105338208A (en) * | 2015-10-16 | 2016-02-17 | 中国联合网络通信集团有限公司 | United call-ticket charging method and system |
-
2017
- 2017-04-13 CN CN201710241088.XA patent/CN107104806A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120143737A1 (en) * | 2005-06-06 | 2012-06-07 | Sms.Ac, Inc. | Billing system and method for micro-transactions |
CN102083042A (en) * | 2009-11-27 | 2011-06-01 | 中国移动通信集团山东有限公司 | Charging method and device of mobile data services |
CN105338208A (en) * | 2015-10-16 | 2016-02-17 | 中国联合网络通信集团有限公司 | United call-ticket charging method and system |
Non-Patent Citations (2)
Title |
---|
周予滨等: "《如何使用Windows 98中文版》", 30 November 1998 * |
航空工业部第五七四厂: "《iRMX 86 核心程序参考手册:手册号 9803122-03 第5册》", 31 December 1983 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880829A (en) * | 2018-05-16 | 2018-11-23 | 北京搜狐新动力信息技术有限公司 | A kind of payment member mall system control method and device |
CN109002559A (en) * | 2018-08-17 | 2018-12-14 | 深圳市海波广告有限公司 | A kind of file management method and system based on public bus network management system |
CN109002559B (en) * | 2018-08-17 | 2021-10-22 | 深圳市海波广告有限公司 | File management method and system based on bus route management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8078609B2 (en) | Method for distributed RDSMS | |
US7711814B1 (en) | Method and system for remote monitoring of a power supply device with user registration capability | |
CN108416620B (en) | Portrait data intelligent social advertisement putting platform based on big data | |
US7602725B2 (en) | System and method for aggregating real-time and historical data | |
CN109409633B (en) | Business monitoring and risk early warning system | |
US20100070981A1 (en) | System and Method for Performing Complex Event Processing | |
CN103914485B (en) | System and method for remotely collecting, retrieving and displaying application system logs | |
US9860229B2 (en) | Integrated data extraction and retrieval system | |
US9576010B2 (en) | Monitoring an application environment | |
US7617201B1 (en) | System and method for analyzing statistics in a reporting system | |
CN107103064B (en) | Data statistical method and device | |
CN104881352A (en) | System resource monitoring device based on mobile terminal | |
EP2168039A2 (en) | Distributed system for monitoring information events | |
US20100023699A1 (en) | System and Method for Usage Analyzer of Subscriber Access to Communications Network | |
CN106940677A (en) | One kind application daily record data alarm method and device | |
CN103502990A (en) | Systems and methods for in-memory processing of events | |
CN108365985A (en) | A kind of cluster management method, device, terminal device and storage medium | |
CN104426713A (en) | Method and device for monitoring network site access effect data | |
CN100583055C (en) | Log information dynamic recording method based on pattern matching | |
US8046238B2 (en) | Business transaction management | |
CN107104806A (en) | Call bill processing method, apparatus and system | |
CN112506743A (en) | Log monitoring method and device and server | |
Qi et al. | A cloud-based triage log analysis and recovery framework | |
CN112148578A (en) | IT fault defect prediction method based on machine learning | |
WO2001035256A2 (en) | Systems and methods for collecting, storing, and analyzing database statistics |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170829 |