CN101754155B - Call bill format conversion method and device and call bill processing method and system - Google Patents

Call bill format conversion method and device and call bill processing method and system Download PDF

Info

Publication number
CN101754155B
CN101754155B CN 200810240301 CN200810240301A CN101754155B CN 101754155 B CN101754155 B CN 101754155B CN 200810240301 CN200810240301 CN 200810240301 CN 200810240301 A CN200810240301 A CN 200810240301A CN 101754155 B CN101754155 B CN 101754155B
Authority
CN
China
Prior art keywords
ticket
format
data
elongated form
type
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.)
Active
Application number
CN 200810240301
Other languages
Chinese (zh)
Other versions
CN101754155A (en
Inventor
寇剑宾
贾荣明
杨建廷
刘海冰
常青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Group Shandong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Shandong Co Ltd filed Critical China Mobile Group Shandong Co Ltd
Priority to CN 200810240301 priority Critical patent/CN101754155B/en
Publication of CN101754155A publication Critical patent/CN101754155A/en
Application granted granted Critical
Publication of CN101754155B publication Critical patent/CN101754155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a call bill format conversion method and a device and a call bill processing method and a system so as to solve the problem of complicated call bill processing caused by various call bill formats in the prior art. The call bill processing method comprises the following: the sorting and preprocessing are carried out for the received fixed-length format call bill, and the processed fixed-length format call bill is converted into variable-length format call bill; the billing and account collecting are carried out for the variable-length format call bill, and the processed variable-length format call bill is converted into the fixed-length format call bill; and the fixed-length format call bill is put in storage after billing and account collecting. By adopting the technical scheme, on the one hand, the corresponding fixed format call bill is unnecessarily built in BOSS according to different types of services, thereby simplifying the call bill format management; on the other hand, a field can be added or deleted in the call bill for meeting different requirements as required in the call bill processing process by various modules in the BOSS.

Description

Call bill format conversion method and device and call bill processing method and system
Technical field
The present invention relates to network and field of computer technology, relate in particular to call bill format conversion method and device and call bill processing method and system.
Background technology
Along with the develop rapidly of mobile technology, also growing for the exploitation of moving new business, this brings new challenge for the business support system (Business & Operation Support System is hereinafter to be referred as BOSS) that moves operation.What require on the one hand that BOSS can Rapid Realization new business opening and chargeing, and it is less to the influence of BOSS to require to open new business on the other hand.
At present, in BOSS, be directed against the format of billing of a kind of correspondence of service definition of each type, so that describe user's professional service recorder.In the prior art, the definition of format of billing has following several kinds of modes usually:
Mode one, the standard of using specific industry to exist, for example ASN.1 (Abstract Syntax Notation one, abstract syntax sign) standard.
Mode two, use the unified descriptive language of XML (eXtensible Markup Language, but extension flag language) as data format.
Mode three, user are according to the self-defining format of billing of demand.
At present, in the BOSS of the communications industry, do not have specific interface standard, the format of billing through the ASN.1 standard definition is a kind of binary data format, beyonds one's depth; Though and use XML is flexible as the descriptive language of data format, format character is too many, causes CDR file excessive easily, and committed memory is too big.Therefore, in BOSS, be directed against different business types at present, define corresponding f format ticket, describe user's professional service recorder through the ticket of f format.CDR file is produced by total BOSS, and sends each BOSS of branch to, and the BOSS of branch sorts processing to the corresponding format of billing of different kinds of business, and describes concrete business information to the format of billing that different business types defines a kind of fixed length.Letter sorting module in BOSS, pretreatment module, batch valency module, the module of making up accounts and bill storage module all are to handle to concrete ticket; Therefore can not be for the format of billing that has defined by careless change; If change; Then need all make amendment to each module among the BOSS, more loaded down with trivial details like this.
In sum, there is following defective in format of billing define method of the prior art:
(1) format of billing is various.Owing in each BOSS,, cause the ticket interface of total BOSS and each BOSS of branch various, more than 50 kind of ticket interface arranged at present to the corresponding format of billing of different business types definition.
(2) format of billing that defines can not be random modification, therefore cause the format of billing very flexible.Format of billing of the prior art is after defining, because each module among the BOSS all is to handle to ticket, therefore can not carries out careless increase or delete field ticket.As need in ticket, increase certain field, and when causing the length of ticket to change, need all to do corresponding modification to each module among the BOSS, more loaded down with trivial details.
Summary of the invention
The embodiment of the invention provides call bill processing method and system among method and apparatus and the BOSS of a kind of format of billing conversion, handles loaded down with trivial details problem to solve among the BOSS of the prior art the various ticket that causes of format of billing.
A kind of call bill format conversion method comprises:
Receive the format of billing conversion command;
When said order request is the elongated form ticket of consolidation form with the f format ticket conversion of miscellaneous service; The data cell of respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket;
When said order request during with the elongated form ticket conversion of the consolidation form f format ticket that is corresponding service; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket;
Wherein, Respectively all types of data in the f format ticket are outputed to corresponding data cell; Comprise: according to the original position and the end position of every type of data in the said f format ticket, reading of data and output to corresponding data cell from said f format ticket successively;
Corresponding data are outputed to corresponding field in the said f format ticket; Comprise: original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
A kind of format of billing conversion equipment comprises:
The order receiver module is used to receive the format of billing conversion command;
First modular converter; Be used for when said order request is the elongated form ticket of consolidation form with the f format ticket conversion of miscellaneous service; The data cell of respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket;
Second modular converter; Be used for when said order request during the elongated form ticket conversion of the consolidation form f format ticket that is corresponding service; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket;
Wherein, said first modular converter is further used for, according to the original position and the end position of every type of data in the said f format ticket, and reading of data and output to corresponding data cell from said f format ticket successively;
Said second modular converter is further used for; Original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
In ticket converting method that the embodiment of the invention provides and the device; The data cell of respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket being outputed to corresponding data cell, for the corresponding data unit data type sign is set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket; Thereby with the elongated form ticket conversion of miscellaneous service is the elongated form ticket of consolidation form; So that when BOSS handles ticket,, simplify the ticket processing procedure of BOSS for BOSS provides the ticket of consolidation form.In addition,, existing ticket statistics, the query function of BOSS still can be handled according to original format of billing through elongated form ticket conversion being returned the f format ticket of corresponding service, thus the compatibility of assurance, and reduce influence to the BOSS system.
Call bill processing method among a kind of BOSS comprises:
F format ticket to receiving sorts, preliminary treatment, and the f format ticket conversion after will handling is elongated form ticket;
To elongated form ticket criticize valency, the processing of making up accounts, and the elongated form ticket conversion after will handling is the f format ticket that said BOSS supports;
F format ticket after batch valency, the processing of making up accounts is put in storage;
Wherein, With the f format ticket conversion after handling is elongated form ticket; Be specially: the data cell that respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket being outputed to corresponding data cell, for the corresponding data unit data type sign is set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket; And; Respectively all types of data in the f format ticket are outputed to corresponding data cell; Comprise: according to the original position and the end position of every type of data in the said f format ticket, reading of data and output to corresponding data cell from said f format ticket successively;
With the elongated form ticket conversion after handling is the f format ticket that said BOSS supports; Be specially:, corresponding data are outputed to corresponding field in the said f format ticket according to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell; And; Corresponding data are outputed to corresponding field in the said f format ticket; Comprise: original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
A kind of BOSS system comprises:
Letter sorting/pretreatment module, be used for to the f format ticket that receives sort, preliminary treatment, and request is elongated form ticket with the f format ticket conversion;
Batch valency/the module of making up accounts, be used for to sort/the elongated form ticket of preliminary treatment and format conversion is criticized valency, the processing of making up accounts;
Go into library module, being used to ask the elongated form ticket conversion of the valency of will criticizing/make up accounts after handling is the f format ticket that said BOSS supports, and the f format ticket after will changing is put in storage;
The format of billing conversion equipment is used for according to request, is elongated form ticket with the f format ticket conversion, or is the f format ticket with elongated form ticket conversion;
Wherein, Said format of billing conversion equipment is elongated form ticket with the f format ticket conversion; Be specially: the data cell that respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket; And; Said format of billing conversion equipment outputs to corresponding data cell with all types of data in the f format ticket respectively; Comprise: according to the original position and the end position of every type of data in the said f format ticket, reading of data and output to corresponding data cell from said f format ticket successively; Perhaps,
Said format of billing conversion equipment is the f format ticket with elongated form ticket conversion; Be specially: according to the said request that is the f format ticket with elongated form ticket conversion; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket; And; Said format of billing conversion equipment outputs to corresponding field in the said f format ticket with corresponding data; Comprise: original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
In call bill processing method that the embodiment of the invention provides and the BOSS system, when receiving the f format ticket, BOSS to the f format ticket that receives sort, preliminary treatment, and the f format ticket conversion after will handling is elongated form ticket; Again to this elongated form ticket criticize valency, the processing of making up accounts, and the elongated form ticket conversion after will handling becomes the f format ticket, this batch valency, the f format ticket of making up accounts after handling put in storage again.Adopt technical scheme of the present invention; On the one hand; Because BOSS becomes elongated form ticket with the f format ticket conversion that receives; And then this elongated form ticket carried out follow-up a series of processing, thereby in BOSS, do not need to set up corresponding f format format of billing to dissimilar business again, thereby the format of billing management among the BOSS simplified; On the other hand, because the f format ticket conversion has been become elongated form ticket, so can in this ticket, increase as required or the deletion field in the process that each module is handled this ticket among the BOSS, satisfy different demands.
Description of drawings
Fig. 1 is the structural representation of the elongated form ticket of consolidation form in the embodiment of the invention;
Fig. 2 is the structural representation of elongated form ticket of the consolidation form of domestic MMS in the embodiment of the invention;
Fig. 3 is with the structural representation of the f format ticket of the elongated ticket of consolidation form shown in Figure 2 domestic MMS after through the VC conversion in the embodiment of the invention;
Fig. 4 is the structural representation of format of billing conversion equipment 4 in the embodiment of the invention;
The structural representation that Fig. 5 handles ticket for BOSS in the embodiment of the invention;
The flow chart that Fig. 6 handles ticket for BOSS in the embodiment of the invention;
Fig. 7 is the realization flow figure that in elongated form ticket, increases data cell in the embodiment of the invention.
Embodiment
Weak point to above-mentioned prior art; The embodiment of the invention provides call bill processing method and system among a kind of call bill format conversion method and device and the BOSS; With present miscellaneous f format ticket conversion is that a kind of elongated form ticket of consolidation form is so that BOSS handles; To simplify the processing procedure of BOSS to the different format of billing tickets of miscellaneous service; And the elongated form ticket conversion of the consolidation form after will handling returns present f format ticket, so that the function of ticket storage and statistics etc. among the compatible BOSS at present.
Below in conjunction with Figure of description the embodiment of the invention is carried out detailed description.
Referring to Fig. 1, be the structural representation of elongated form ticket in the embodiment of the invention, this ticket comprises and begins sign, type of service, data cell (one or more) and finish identification field, wherein:
Begin sign: the original position of expression ticket, 2 byte lengths, value can be made as the EE of 16 systems;
Finish sign: the end position of expression ticket, 2 byte lengths, value can be made as the FF of 16 systems;
The type of service sign: identify the type of service of this ticket, as, the domestic MMS of 65 expressions, the international MMS of 66 expressions, 10 expression voice calling service, 20 expression short message services etc.;
Data cell: each data cell all comprises output encoder (below be called TAG coding), data length sign, three parts of data value; Wherein, The TAG encoded radio is represented the field type sign of this data cell; Can be two 16 scale codings, what represent the storage of this data cell like A1 is phone number, and what A2 represented this data cell storage is IMSI (International Mobile Subscriber Identification Number) number; The data length ident value is represented the byte length of data value field in this data cell, is two 16 scale codings, representes that the byte length of the data value field in this data cell is 11 bytes like the data length mark during for 0B; The concrete data of storage in the data value field; For example, when TAG was encoded to A1, the data value field was a phone number; That is: when data cell was A10B13605311234, the data of this data cell were that a number that occupies 11 characters is 13605311234 phone number; When TAG was encoded to A2, the data value field was the IMSI number.
In the above-mentioned format of billing, identical TAG coding can be arranged in the ticket of different business, but represent different implications, the type of service sign is with the TAG data unit of unique identification of encoding.In a ticket, one or more data cells can be arranged, but the TAG encoded radio in all data cells is unique.Can find out that the form of this ticket and type of service are irrelevant, thereby can the fixed length ticket of different business be unified into the ticket of this elongated form.
Need to prove that at this sequence arrangement of each field can define as required in above-mentioned format of billing, the length of ticket is then decided according to what of data cell that it comprised.Also can be as required the field of ticket be expanded, as increase new field.
Can in BOSS, use fast and promote in order to make above-mentioned elongated form ticket; And make the use of this elongated form ticket less to the BOSS systematic influence; The embodiment of the invention provides a kind of format of billing conversion equipment; This device can provide general dynamic base function, supplies each module invokes among the BOSS, so that realization elongated form ticket that the embodiment of the invention provided and the conversion between the existing form ticket.This format of billing conversion equipment comprises two format of billing modular converters; One is the CV modular converter, and this module is used for converting existing form ticket (to call the f format ticket in the following text) into consolidation form ticket (to call elongated form ticket in the following text) that the embodiment of the invention provides; Another is the VC modular converter, and being used for elongated form ticket conversion is the f format ticket.
The CV modular converter can be according to configuration file wherein, is elongated form ticket with all kinds of f format ticket conversion of input, in like manner, can also the character string of the regular length of input be converted into the text of consolidation form.
It is the transformation rule of elongated form ticket that configuration file in the CV modular converter has defined the f format ticket conversion; Comprise the CV conversion domain of definition, professional conversion territory, explanatory notes and input and output configuration instruction part; Wherein, Professional conversion territory is essential, is used for the definition format transformation rule.Below provided the instance of configuration file in the CV modular converter:
[CV_Begin]
What # this part disposed is the conversion configurations of the essential information in the source file.
Figure GDA0000139310810000081
[CV_End]
The explanation that configuration file is relevant is following:
(1) the CV conversion domain of definition: [CV_Begin]; [CV_End] representes respectively the beginning of a CV conversion configurations and end; Part is between the two represented the configuration domain of CV conversion, and all transformation rule definition from the f format ticket to elongated form ticket are all carried out this configuration domain.
(2) explanatory notes: " # " expression comment line in the configuration file is used to explain the effect of this configuration file.
(3) the professional conversion domain of definition: " & " symbol is represented beginning and end to a kind of professional format of billing transformation rule definition respectively with " $ " symbol; As 65 expression types of service be domestic MMS, “ &65 then " with “ $65 " between the part definition be the rule of elongated form ticket that domestic multimedia message f format ticket conversion is become to unify." & " symbol occurs with " $ " symbol in pairs, and part between the two is the definition to a kind of format of billing transformation rule of concrete business.
(4) input and output configuration: refer to the content of concrete definition in the business conversion domain of definition, comprise that pattern of the input is described and output format is described two parts, that is, and the output rule that reads rule and elongated form ticket of f format ticket.For example, at above-mentioned “ &65 " with “ $65 " in the corresponding service conversion domain of definition, following to the definition of domestic MMS:
3 27 0 30 multimedia message sequence numbers
28 29 0 31 multimedia message types
30 31 0 32 roaming types
32 32 0 33 user types
33 47 0 34 phone numbers
Wherein, first line display: 27 characters of the 3rd of every row the character to the are read from the f format ticket totally 25 character representatives be the sequence number of multimedia message, output in the elongated form ticket and then identify through TAG=30; Second line display: the type of two character representation multimedia messages that 29 characters of the 28th of every row the character to the are read from the f format ticket outputs in the elongated form ticket and then identifies through TAG=31; And the like, last column is represented: 15 character representation phone numbers that 47 characters of the 33rd character to the of every row are read from the f format ticket output in the elongated form ticket and then identify through TAG=34.According to above-mentioned rule the f format ticket of domestic MMS is changed, the elongated form format of billing that obtains can be as shown in Figure 2.Wherein, After reading the indicated data of first row according to above-mentioned rule; According to elongated form format of billing like Fig. 2 definition; The length of the data of in first data cell of elongated form ticket, write the TAG encoded radio successively, reading, the data of reading, the rest may be inferred, and the data that above-mentioned every row is read are used a data unit record respectively in elongated form ticket.And; With “ &65 " with “ $65 " the type of service ident value 65 of represented domestic MMS writes the type of service identification field; And write origin identification EE respectively and finish sign FF, thereby form ticket as shown in Figure 2 in the beginning of this ticket and ending.
Can read in rule to the professional ticket of polytype in the CV configuration file and define with the output rule, through this CV configuration file, can be the elongated form ticket of consolidation form with the f format ticket conversion.Need to prove that the form of above-mentioned CV configuration file is merely a kind of instance, other are any can define ticket read in rule all should be within protection range of the present invention with the CV configuration file format of output rule.
The VC modular converter can be according to configuration file wherein, is corresponding f format ticket with the elongated form ticket conversion of the consolidation form of input, in like manner, can also be the character string of regular length with the text-converted of the consolidation form of input.
The transformation rule that it is the f format ticket that configuration file in the VC modular converter has defined elongated form ticket conversion; Comprise the VC conversion domain of definition, professional conversion territory and input and output configuration section; Wherein, professional conversion territory is essential, is used for the definition format transformation rule.Below provided the instance of configuration file in the VC modular converter:
Figure GDA0000139310810000101
(1) the VC conversion domain of definition: [VC_Begin], [VC_End] represent the beginning and the end of a VC conversion configurations respectively.Part is between the two represented the configuration domain of this time VC conversion, and all transformation rule definition from elongated form ticket to the f format ticket are all carried out this configuration domain.
(2) the professional conversion domain of definition: similar with the CV conversion, " & " symbol is represented beginning and end to a kind of professional format of billing transformation rule definition respectively with " $ " symbol.Type of service like 65 expressions is domestic MMS, “ &65 then " with “ $65 " between part defines is the domestic multimedia message ticket that the domestic multimedia message ticket conversion of elongated form is become f format." $ " symbol occurs with " & " symbol in pairs, and part between the two is the definition to a kind of format of billing transformation rule of concrete business.
(3) input and output configuration: refer to the content of concrete definition in the business conversion domain of definition, comprise that pattern of the input is described and output format is described two parts, that is, and the output rule that reads rule and f format ticket of elongated form ticket.For example, at above-mentioned “ &65 " with “ $65 " in the corresponding service conversion domain of definition, following to the definition of domestic MMS:
30 25-20 1 multimedia message sequence numbers
312-20 2 multimedia message types
32 2-20 3 roaming types
33 2-20 4 user types
34 11-20 5 phone numbers
Wherein, First line display: the multimedia message sequence number of TAG=30 sign in the f format ticket is transformed into the 1st position in the f format ticket; Length is 25, left-justify ("-" in first row is expressed as left-justify, and "+" is expressed as Right Aligns); When data during by the space of also not enough this location assignment of left-Aligned mode, are filled (perhaps filling with other symbols according to the fill rule of setting) with the space.Second line display: the multimedia message types value of TAG=31 sign in the f format ticket is transformed into the 2nd position in the f format ticket, and length is 2, and left-justify is when data, are filled with the space also during the space of not enough this location assignment by left-Aligned mode.The rest may be inferred; Last column indicates: the phone number of TAG=34 sign in the f format ticket is transformed into the 5th position in the f format ticket, and length is 11, left-justify; When data during by the space of also not enough this location assignment of left-Aligned mode, are filled with the space.Thereby the multimedia message sequence number in respectively will this elongated form ticket, multimedia message type, roaming types value, user class offset and phone number output in the domestic multimedia message ticket of f format successively, and the result is as shown in Figure 3.
Referring to Fig. 4, be the structural representation of format of billing conversion equipment 4 in the embodiment of the invention, this format of billing conversion equipment 4 comprises: order receiver module 41, CV modular converter 42 and VC modular converter 43, wherein:
Order receiver module 41 is used to receive the format of billing conversion command.
The function of CV modular converter 42 as previously mentioned; Be specially: when said order request is the elongated form ticket of consolidation form with the f format ticket conversion of miscellaneous service; The data cell of respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket.
The function of VC modular converter 43 as previously mentioned; Be specially: when said order request during the elongated form ticket conversion of the consolidation form f format ticket that is corresponding service; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket.
In the embodiment of the invention, the CV modular converter function in the format of billing conversion equipment can realize that in like manner, VC modular converter function also can be passed through transfer function (following one-tenth VC transfer function) and realize through transfer function (to call the CV transfer function in the following text).
The format of billing conversion equipment 4 of the embodiment of the invention can be applicable to BOSS, make among the BOSS each functional module realize the format conversion and the processing of ticket through calling the corresponding modular converter (being transfer function) in the format of billing conversion equipment 4.
Referring to Fig. 5; For in the embodiment of the invention format of billing conversion equipment being applied to the sketch map of BOSS; The BOSS of integrated format of billing conversion equipment 4 comprises letter sorting/pretreatment module 51, batch valency/module of making up accounts 52, goes into library module 53 and format of billing conversion equipment 4, wherein:
Letter sorting/pretreatment module 51, be used for to the f format ticket that receives sort, preliminary treatment, and request is elongated form ticket with the f format ticket conversion;
Batch valency/the module 52 of making up accounts, be used for to sort/the elongated form ticket of preliminary treatment and format conversion is criticized valency, the processing of making up accounts;
Go into library module 53, being used to ask the elongated form ticket conversion of the valency of will criticizing/make up accounts after handling is the f format ticket, and the f format ticket after will changing is put in storage;
Format of billing conversion equipment 4 is used for according to request, is elongated form ticket with the f format ticket conversion, or is the f format ticket with elongated form ticket conversion.
Referring to Fig. 6,, comprising in the embodiment of the invention format of billing conversion equipment being applied to the ticket handling process sketch map behind the BOSS:
Step 601, receive each professional corresponding f format ticket, the f format ticket that different service is corresponding different.
The f format ticket that step 602,51 pairs of letter sorting/pretreatment module receive sorts, preliminary treatment, and request format of billing conversion equipment 4 becomes this f format ticket conversion the elongated form ticket of consolidation form.
This elongated form ticket that has carried out after letter sorting, preliminary treatment and the format of billing conversion of 52 pairs of steps 603, batch valency/module of making up accounts is criticized valency, is made up accounts.
Step 606, go into library module 53 request format of billing conversion equipments 4 with this carried out batch valency, the elongated form ticket conversion of handling of making up accounts becomes the corresponding f format ticket of corresponding service; This f format ticket is the format of billing that said BOSS supports, and with this f format bill storage.
Between the step 603 and step 605 in above-mentioned flow process, optional can also may further comprise the steps:
Step 604, batch valency/module of making up accounts 52 increase data cell according to batch valency of this elongated form ticket, the result that makes up accounts in this elongated form ticket, can write down the expense of this elongated form ticket in this data cell.
Need to prove that above-mentioned letter sorting/pretreatment module 51, batch valency/module of making up accounts 52 and go into library module 53 and can call format of billing conversion equipment 4 are so that carry out conversion process when needs carry out the format of billing conversion.For example, letter sorting/pretreatment module 51 is sorting, can never call format of billing conversion equipment 4 after the preliminary treatment, and criticize valency at needs, made up accounts and call format of billing conversion equipment 4 before by batch valency/module of making up accounts 52.
In the embodiment of the invention, in elongated form ticket, can increase, delete, revise data cell, the sequence of positions of data cell in ticket is not strict with, and the user can self-defined its sequence of positions.Below carry out detailed description with an instantiation in elongated form ticket, increasing data cell in the example of the present invention.
Referring to Fig. 7, in elongated form ticket, increasing the implementation structure sketch map of data cell in the embodiment of the invention.
For example; BOSS receives the f format ticket 71 of a MMS; Storage multimedia message sequence number in the 1st position of this f format ticket 71, the type identification value of this multimedia message of storage in the 2nd position, storage roaming type identification value in the 3rd position; Storage user class offset in the 4th position, memory mobile phone number in the 5th position; To this f format ticket sort, preliminary treatment, and call the elongated form ticket 72 that format of billing conversion equipment 4 converts this f format ticket 71 to unified format of billing; Criticize valency/module of making up accounts 52 and from this elongated form ticket 72, obtain the associated data unit 73 of batch valency and the required information of making up accounts; Criticize valency/module of making up accounts 52 and from data cell, obtain needed data message; And this elongated form ticket is criticized valency, made up accounts according to this data message; Further; Criticize valency/module of making up accounts 52 and also generate ticket cost data 74 to batch valency of this elongated form ticket, the result that makes up accounts; The expense of this elongated form ticket of record in this data cost data 74, and convert this data cell 74 data cell 75 of unified format of billing to through calling format of billing conversion equipment 4, and in elongated form ticket 72, increase this data cell 75 and obtain elongated form ticket 76; Go into library module and should convert the f format ticket to by elongated form ticket 76 through calling format of billing conversion equipment 4, and with the warehouse-in of the data message in this f format ticket, so that processing such as subsequent query, statistics.
The embodiment of the invention; One format of billing conversion equipment is set in each BOSS in advance, when receiving all kinds of f format ticket, through call the format of billing conversion equipment just this f format ticket conversion become the elongated form ticket of consolidation form; This elongated form ticket is carried out corresponding a series of processing as; Batch valency, make up accounts, should elongated form ticket conversion become the f format ticket again, and the data message of this f format ticket is put in storage.Adopt technical scheme of the present invention; On the one hand; Because each module in BOSS all is that the elongated form ticket of unified format of billing is handled; Therefore need so just not make that the management work of format of billing is simpler, and simplify the ticket processing procedure to the different format of billing of different service definition in BOSS; On the other hand, owing to can in the elongated form ticket of this consolidation form, increase or the deleted data unit as required, thereby improve the flexibility of format of billing and satisfied different demands.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. a call bill format conversion method is characterized in that, comprising:
Receive the format of billing conversion command;
When said order request is the elongated form ticket of consolidation form with the f format ticket conversion of miscellaneous service; The data cell of respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket;
When said order request during with the elongated form ticket conversion of the consolidation form f format ticket that is corresponding service; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket;
Wherein, Respectively all types of data in the f format ticket are outputed to corresponding data cell; Comprise: according to the original position and the end position of every type of data in the said f format ticket, reading of data and output to corresponding data cell from said f format ticket successively;
Corresponding data are outputed to corresponding field in the said f format ticket; Comprise: original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
2. the method for claim 1 is characterized in that, corresponding data are outputed to corresponding field in the said f format ticket, also comprises:
The respective field of alignment rule in the f format ticket according to being provided with in advance writes data, and insufficient section is inserted padding data.
3. the method for claim 1 is characterized in that, the data in the f format ticket are outputed to the data cell in the elongated form ticket after, also comprise: delete the data cell in the said elongated form ticket; Or/and, in said elongated form ticket, add data cell.
4. a format of billing conversion equipment is characterized in that, comprising:
The order receiver module is used to receive the format of billing conversion command;
First modular converter; Be used for when said order request is the elongated form ticket of consolidation form with the f format ticket conversion of miscellaneous service; The data cell of respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket;
Second modular converter; Be used for when said order request during the elongated form ticket conversion of the consolidation form f format ticket that is corresponding service; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket;
Wherein, said first modular converter is further used for, according to the original position and the end position of every type of data in the said f format ticket, and reading of data and output to corresponding data cell from said f format ticket successively;
Said second modular converter is further used for; Original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
5. device as claimed in claim 4 is characterized in that, said first modular converter is further used for, and writes data according to the respective field of alignment rule in the f format ticket that is provided with in advance, and insufficient section is inserted padding data.
6. device as claimed in claim 4 is characterized in that, said first modular converter is further used for, the data in the f format ticket are outputed to the data cell in the elongated form ticket after, also comprise: delete the data cell in the said elongated form ticket; Or/and, in said elongated form ticket, add data cell.
7. the call bill processing method among the BOSS is characterized in that, comprising:
F format ticket to receiving sorts, preliminary treatment, and the f format ticket conversion after will handling is elongated form ticket;
To elongated form ticket criticize valency, the processing of making up accounts, and the elongated form ticket conversion after will handling is the f format ticket that said BOSS supports;
F format ticket after batch valency, the processing of making up accounts is put in storage;
Wherein, With the f format ticket conversion after handling is elongated form ticket; Be specially: the data cell that respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket being outputed to corresponding data cell, for the corresponding data unit data type sign is set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket; And; Respectively all types of data in the f format ticket are outputed to corresponding data cell; Comprise: according to the original position and the end position of every type of data in the said f format ticket, reading of data and output to corresponding data cell from said f format ticket successively;
With the elongated form ticket conversion after handling is the f format ticket that said BOSS supports; Be specially:, corresponding data are outputed to corresponding field in the said f format ticket according to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell; And; Corresponding data are outputed to corresponding field in the said f format ticket; Comprise: original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
8. method as claimed in claim 7 is characterized in that, batch valency, the elongated form ticket conversion after handling of making up accounts are the f format ticket before, also comprise: in said elongated form ticket, add or/and the deleted data unit.
9. a BOSS system is characterized in that, comprising:
Letter sorting/pretreatment module, be used for to the f format ticket that receives sort, preliminary treatment, and request is elongated form ticket with the f format ticket conversion;
Batch valency/the module of making up accounts, be used for to sort/the elongated form ticket of preliminary treatment and format conversion is criticized valency, the processing of making up accounts;
Go into library module, being used to ask the elongated form ticket conversion of the valency of will criticizing/make up accounts after handling is the f format ticket that said BOSS supports, and the f format ticket after will changing is put in storage;
The format of billing conversion equipment is used for according to request, is elongated form ticket with the f format ticket conversion, or is the f format ticket with elongated form ticket conversion;
Wherein, Said format of billing conversion equipment is elongated form ticket with the f format ticket conversion; Be specially: the data cell that respective numbers is set in elongated form ticket according to the various type of data that comprise in the said f format ticket; Respectively all types of data in the f format ticket are outputed to corresponding data cell; For the corresponding data unit data type sign being set according to data type, is that elongated form ticket is provided with the type of service sign according to the type of service of f format ticket; And; Said format of billing conversion equipment outputs to corresponding data cell with all types of data in the f format ticket respectively; Comprise: according to the original position and the end position of every type of data in the said f format ticket, reading of data and output to corresponding data cell from said f format ticket successively; Perhaps,
Said format of billing conversion equipment is the f format ticket with elongated form ticket conversion; Be specially: according to the said request that is the f format ticket with elongated form ticket conversion; According to the data type sign in the sign of the type of service in the said elongated form ticket and each data cell, corresponding data are outputed to corresponding field in the said f format ticket; And; Said format of billing conversion equipment outputs to corresponding field in the said f format ticket with corresponding data; Comprise: original position and end position according to the corresponding data respective field in the f format ticket of each data type sign in the said elongated form ticket output to corresponding data in the respective field in the said f format ticket.
CN 200810240301 2008-12-17 2008-12-17 Call bill format conversion method and device and call bill processing method and system Active CN101754155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810240301 CN101754155B (en) 2008-12-17 2008-12-17 Call bill format conversion method and device and call bill processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810240301 CN101754155B (en) 2008-12-17 2008-12-17 Call bill format conversion method and device and call bill processing method and system

Publications (2)

Publication Number Publication Date
CN101754155A CN101754155A (en) 2010-06-23
CN101754155B true CN101754155B (en) 2012-07-04

Family

ID=42480384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810240301 Active CN101754155B (en) 2008-12-17 2008-12-17 Call bill format conversion method and device and call bill processing method and system

Country Status (1)

Country Link
CN (1) CN101754155B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164389B (en) * 2011-12-14 2015-10-28 ***(深圳)有限公司 A kind of disposal route of user-defined format plane ticket and system
CN104573118B (en) * 2015-02-05 2018-03-02 北京北大高科指纹技术有限公司 Fingers and palms line data file storage method, exchange method and its device
CN107092607B (en) * 2016-02-18 2021-04-23 ***通信集团安徽有限公司 Ticket storage method and device
CN112217944B (en) * 2020-10-09 2022-04-15 中国联合网络通信集团有限公司 Online ticket processing method, device, equipment and storage medium
CN114745211B (en) * 2022-04-26 2024-06-25 贵阳朗玛通信科技有限公司 Method and device for quick matching policy based on call ticket data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956688A (en) * 1997-05-08 1999-09-21 Fujitsu Limited Electronic transaction apparatus and computer readable storage medium on which is recorded control program for executing format conversion in electronic transaction
CN1870708A (en) * 2005-12-14 2006-11-29 华为技术有限公司 Ticket conveying method, ticket conveying system and exchange equipment
CN1933512A (en) * 2006-09-30 2007-03-21 华为技术有限公司 Tollticket processing equipment and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956688A (en) * 1997-05-08 1999-09-21 Fujitsu Limited Electronic transaction apparatus and computer readable storage medium on which is recorded control program for executing format conversion in electronic transaction
CN1870708A (en) * 2005-12-14 2006-11-29 华为技术有限公司 Ticket conveying method, ticket conveying system and exchange equipment
CN1933512A (en) * 2006-09-30 2007-03-21 华为技术有限公司 Tollticket processing equipment and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
3GPP SA.Telecommunication management *
Charging Data Record (CDR) file format and transfer(Release 8).《3GPP TS 32.297 V8.0.0》.2008,
Charging management
Charging management;Charging Data Record (CDR) file format and transfer(Release 8).《3GPP TS 32.297 V8.0.0》.2008, *

Also Published As

Publication number Publication date
CN101754155A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US7304585B2 (en) Initiation of actions with compressed action language representations
CN101754155B (en) Call bill format conversion method and device and call bill processing method and system
CN100405370C (en) Dynamic switching between local and remote speech rendering
CN101118558B (en) Converting method and apparatus for resource file
CN100425081C (en) Code-conversion method for shortmessage receiving and transmitting and network apparatus used thereof
CN101316296B (en) Method and system for managing generation of multiple electronic work orders
KR100511300B1 (en) Method for enhanced short message service
CN101345952B (en) Data storing and reading method, device and system for client identification card
CN102436380A (en) STK menu handling system and processing method for menu
CN101516086B (en) Service matching method for mobile communication
CN103092607A (en) Encoding and decoding method of telecommunications call ticket
CN101179772A (en) Method and apparatus for service fulfillment
CN102609253A (en) Method and system for implementing smart card application
CN1321538C (en) Short message network address communication system based on two-dimensional bar code identification technology
CN102073983A (en) Method and device for optimization processing of PNG (portable network graphic) image resources
CN100531042C (en) Network management method for the configuration and the interface description of network elements by means of XML
CN112016270B (en) Logistics information coding method, device and equipment of Chinese-character codes
CN101355731B (en) Mobile terminal and method for transmitting/receiving file thereof
CN101335960B (en) Method and system implementing mobile phone automatic test
CN102073693A (en) XML-based data communication method and system
CN113742294A (en) Method, system, device and medium for decoding ASN.1-PER signaling message
CN114070470A (en) Encoding and decoding method and device
CN1937791A (en) System and method for realizing value-added business based on user identification module
CN101087331A (en) A fixed network message input system based on voice recognition
CN105678637A (en) Data parsing system and application method thereof for vehicle charging posts

Legal Events

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