CN102497623B - Ticket processing method, ticket collection system and charging system - Google Patents

Ticket processing method, ticket collection system and charging system Download PDF

Info

Publication number
CN102497623B
CN102497623B CN201110390447.0A CN201110390447A CN102497623B CN 102497623 B CN102497623 B CN 102497623B CN 201110390447 A CN201110390447 A CN 201110390447A CN 102497623 B CN102497623 B CN 102497623B
Authority
CN
China
Prior art keywords
message
ticket
collection system
information
charge system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110390447.0A
Other languages
Chinese (zh)
Other versions
CN102497623A (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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201110390447.0A priority Critical patent/CN102497623B/en
Publication of CN102497623A publication Critical patent/CN102497623A/en
Application granted granted Critical
Publication of CN102497623B publication Critical patent/CN102497623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a ticket processing method, a ticket collection system and a charging system. The ticket processing method includes that the ticket collection system generates original ticket data according to collected user communication information and conducts backups of original ticket data; the ticket collection system packages the original ticket data into ticket messages, wherein the ticket messages comprise an information sequence number for uniquely identifying the ticket messages, message verification information for verifying integrity and safety of the ticket messages and a message body. The ticket collection system sends the ticket messages to the charging system. By means of the ticket processing method, the ticket collection system and the charging system, the tickets generated by the ticket collection system are in message mode, the tickets in message mode are simple in format, hardware requirements for the ticket collection system are reduced, system expenses are reduced, waste of system sources is avoided, and processing capacity on the tickets is improved.

Description

Call bill processing method, ticket collection system and charge system
Technical field
The present invention relates to the communication technology, relate in particular to a kind of call bill processing method, ticket collection system and charge system.
Background technology
Along with the development of telecommunications industry especially mobile communications industry, China has become the maximum telecommunication market in the whole world, is also maximum Mobile Communications Market.Increasing rapidly of mobile communication subscriber had higher requirement to the performance of the billing-settlement system in telecommunication system.At present, charge system is mainly by file transfer protocol (FTP) (File Transfer Protocol, abbreviation FTP) interface obtains user's detailed call record (Call Detail Record is called for short CDR) from ticket collection system or related network elements, carries out charge accounting processing.
But, CDR of the prior art is document form conventionally, ticket collection system generates the CDR of this document form, not only higher to the hardware requirement of ticket collection system, and just mean higher overhead based on file format, take more system file I/O resource, when concurrent pressure increases, system tends to the problem that occurs that disposal ability declines, and can not adapt to the business demand of present rapid growth.
Summary of the invention
The invention provides a kind of call bill processing method, ticket collection system and charge system, to improve the disposal ability to ticket.
First aspect of the present invention provides a kind of call bill processing method, comprising:
The user communication Information generation Original CDR data that ticket collection system basis collects, and described Original CDR data are backed up;
Described ticket collection system becomes ticket message by described Original CDR data encapsulation, wherein, described ticket message comprise message SN in order to ticket message described in unique identification, in order to verify information authentication information and the message body of described ticket message integrity and fail safe;
Described ticket collection system sends to charge system by described ticket message.
Another aspect of the present invention provides a kind of call bill processing method, comprising:
The ticket message that the message memory modules of charge system receives and memory ticket acquisition system sends;
The ticket processing module of described charge system is obtained described ticket message from described message memory modules, according to the information authentication information of described ticket message, the integrality of described ticket message and legitimacy are verified, if be proved to be successful, described ticket message is carried out to charging processing.
Another aspect of the present invention provides a kind of ticket collection system, comprising:
Acquisition module, the user communication Information generation Original CDR data that collect for basis, and described Original CDR data are backed up;
Backup module, for the Original CDR data of storage backup;
Package module, for described Original CDR data encapsulation is become to ticket message, wherein, described ticket message comprise message SN in order to ticket message described in unique identification, in order to verify information authentication information and the message body of described ticket message integrity and fail safe;
Sending module, for sending to charge system by described ticket message.
Another aspect of the present invention provides a kind of charge system, comprising:
Message memory modules, for the ticket message receiving and memory ticket acquisition system sends;
Ticket processing module, for obtaining described ticket message from described message memory modules, according to the information authentication information of described ticket message, the integrality of described ticket message and legitimacy are verified, if be proved to be successful, described ticket message is carried out to charging processing.
As shown from the above technical solution, the call bill processing method that first aspect of the present invention provides, ticket collection system is according to the user communication Information generation Original CDR data that collect, and Original CDR data are backed up, Original CDR data encapsulation is become to ticket message, then ticket message is sent to charge system.The ticket generating due to ticket collection system is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to ticket collection system, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
The ticket message that the message memory modules of the charge system that another aspect of the present invention provides receives and memory ticket acquisition system sends, ticket processing module is obtained ticket message from message memory modules, according to the information authentication information of ticket message, the integrality of ticket message and legitimacy are verified, if be proved to be successful, ticket message is carried out to charging processing.The ticket generating due to ticket collection system is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to charge system, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
The ticket collection system that another aspect of the present invention provides, acquisition module is according to the user communication Information generation Original CDR data that collect, and Original CDR data are stored in backup module to realize backup, package module becomes ticket message by Original CDR data encapsulation, and sending module sends to charge system by ticket message.The ticket generating due to ticket collection system is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to ticket collection system, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
The charge system that another aspect of the present invention provides, the ticket message that message memory modules receives and memory ticket acquisition system sends, ticket processing module is obtained ticket message from message memory modules, according to the information authentication information of ticket message, the integrality of ticket message and legitimacy are verified, if be proved to be successful, ticket message is carried out to charging processing.The ticket generating due to ticket collection system is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to charge system, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
Accompanying drawing explanation
The call bill processing method flow chart that Fig. 1 provides for the embodiment of the present invention one;
The call bill processing method flow chart that Fig. 2 provides for the embodiment of the present invention two;
The call bill processing method flow chart that Fig. 3 provides for the embodiment of the present invention three;
The ticket collection system structural representation that Fig. 4 provides for the embodiment of the present invention four;
The ticket collection system structural representation that Fig. 5 provides for the embodiment of the present invention five;
The charge system structural representation that Fig. 6 provides for the embodiment of the present invention six.
Embodiment
Call bill processing method embodiment mono-
The call bill processing method flow chart that Fig. 1 provides for the embodiment of the present invention one.As shown in Figure 1, the call bill processing method that the present embodiment provides specifically can be applied to the especially collection generative process of the ticket of moving communicating field of field of telecommunications, can carry out by ticket collection system.Ticket collection system is specifically as follows switch, GPRS gateway (Gateway GPRS Support Node, abbreviation GGSN), GPRS serving GPRS support node (Serving GPRS Support Node, be called for short SGSN) or the network element such as service control point (Service Control Point is called for short SCP).
The call bill processing method that the present embodiment provides specifically comprises:
The user communication Information generation Original CDR data that step U10, ticket collection system basis collect, and Original CDR data are backed up;
Particularly, user communication information can be telephony recording information, note recorded information or internet records information etc., ticket collection system is according to user communication Information generation Original CDR data, Original CDR data have comprised the content of user communication information, if user communication information is telephony recording information, in Original CDR data, can comprise the information such as calling number, called number, air time.Because ticket collection system is realized conventionally to the generative process of Original CDR data in internal memory, and the limited storage space of internal memory, and loss of data after system power failure, so specifically Original CDR data can be stored in non-volatile memory, to realize the backup to Original CDR data.
Step U20, ticket collection system become ticket message by Original CDR data encapsulation, and wherein, ticket message comprises in order to the message SN of unique identification ticket message, in order to verify information authentication information and the message body of ticket message integrity and fail safe;
In message body, specifically can include all or part of content in Original CDR data, so that charge system can be carried out charging according to the content in this message body, process.Message SN, in order to unique identification ticket message, to distinguish each ticket message, is avoided reprocessing, also can, when ticket information drop-out, resend targetedly or generate.Information authentication information is in order to verify ticket message integrity and fail safe, and information authentication information is specifically as follows and generates according to all or part of content of message SN and message body.Charge system, can be according to this information authentication information to the verifying of the integrality of ticket message and fail safe, to avoid ticket message to be intercepted and captured and distort in transmitting procedure after receiving ticket message.
Step U30, ticket collection system send to charge system by ticket message.
Ticket collection system sends to charge system by ticket message, and charge system is carried out corresponding charging processing to this ticket message receiving.
The call bill processing method that the present embodiment provides, ticket collection system is according to the user communication Information generation Original CDR data that collect, and Original CDR data are backed up, Original CDR data encapsulation is become to ticket message, then ticket message is sent to charge system.The ticket generating due to ticket collection system is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to ticket collection system, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
Call bill processing method embodiment bis-
The call bill processing method flow chart that Fig. 2 provides for the embodiment of the present invention two.As shown in Figure 2, the call bill processing method that the present embodiment provides on the basis of embodiment mono-, step U20, ticket collection system becomes ticket message by Original CDR data encapsulation, specifically can comprise the steps:
U201, ticket collection system are according to Original CDR data generating messages body, and assignment messages sequence number;
U202, ticket collection system are preset cryptographic algorithm generating messages authorization information according to message SN and message body by first;
U203, ticket collection system are combined into ticket message by message SN, information authentication information and message body.
Particularly, unique identification information that message SN specifically can generate at random.Information authentication information is specifically as follows and generates by the first default cryptographic algorithm according to the part or all of content of message SN and message body, for example, message body can comprise the information such as type of message, message-length and type of service, after message SN, type of message, message-length and type of service can being encrypted by the first default cryptographic algorithm, generates this information authentication information.The first default cryptographic algorithm is specifically as follows rivest, shamir, adelman, can improve the complexity of encryption.By above-mentioned information is encrypted, if ticket message is tampered in transmitting procedure, but because information authentication information is the information after encrypting, be not easy to be acquired modification, can to the integrality of ticket message and fail safe, verify according to this information authentication information, improve the credibility of information authentication information.
Take short message service below as example, the form of ticket message is elaborated.The form of the ticket message of short message service specifically can be as follows:
Figure BDA0000114397780000061
In message safety checking position in the ticket message of said short message business, include information authentication information, message body specifically can comprise content shown in sequence number 3-16.Form that it should be noted that ticket message can need to arrange according to concrete type of service, with the present embodiment, is not limited.
In the present embodiment, step U30, ticket collection system send to charge system by ticket message, specifically can comprise the steps:
Ticket collection system is encrypted ticket message by the second default cryptographic algorithm, and the ticket message after encrypting is sent to charge system.
The second default cryptographic algorithm is specifically as follows the transmission cryptographic algorithm based on SSL (Secure Sockets Layer is called for short SSL) agreement, but the present embodiment is not as limit.Ticket collection system is encrypted ticket message by the second default cryptographic algorithm, when ticket message is intercepted and captured by hacker in transmitting procedure, because ticket message is encrypted information, increased the difficulty that hacker obtains ticket message content, the fail safe that has further improved ticket message.
In the present embodiment, step U30, ticket collection system sends to charge system by ticket message, specifically can comprise the steps:
Step U301, ticket collection system are monitored the quantity of current ticket message, according to the quantity of current ticket message, multiple messages queue are set;
Particularly, current ticket message is the ticket message that current ticket collection system generates, and its quantity is monitored, and can know the treatment situation that ticket collection system is current.If the quantity of current ticket message is many, the quantity that can increase message queue sends ticket message, to improve parallel transmitting efficiency, avoids the obstruction of ticket message.If the quantity of current ticket message is fewer, can reduce the quantity of message queue, to avoid the waste of system resource.Because the quantity of message queue is specifically to arrange according to the quantity of ticket message, can improve flexibility and adaptability that ticket message sends.
Step U302, ticket collection system send situation according to the message of each message queue, select message queue that ticket message is sent to charge system.
Ticket collection system can send situation according to the message of each message queue, selects comparatively idle message queue, and ticket message is sent in message queue and queued up, and successively the ticket message in message queue is sent to charge system.
In the present embodiment, step U302, ticket collection system sends situation according to the message of each message queue, and selection message queue specifically can also comprise the steps: after ticket message is sent to charge system
Step U303, ticket collection system receive the feedback information corresponding with ticket message that charge system sends;
If the success of step U304 feedback information indication ticket transmission of messages, ticket collection system is deleted ticket message from message queue;
If the failure of step U305 feedback information indication ticket transmission of messages, ticket collection system resends the ticket message in message queue to charge system;
If the failure of step U306 feedback information indication ticket Message Processing, ticket collection system is the ticket message of the Original CDR data encapsulation Cheng Xin of backup, and new ticket message is sent to charge system by message queue.
Particularly, charge system sends to the feedback information of ticket collection system in order to indicate reception and the disposition of ticket message.If feedback information indication ticket transmission of messages success, illustrate that charge system has successfully received this ticket message, ticket collection system can be deleted this ticket message according to this feedback information from message queue, so that next ticket message is sent to charge system.If the failure of feedback information indication ticket transmission of messages, illustrates that charge system does not successfully receive this ticket message, ticket collection system resends this ticket message in message queue to charge system.If the failure of feedback information indication ticket Message Processing, illustrates this ticket message existing problems itself, ticket collection system is the ticket message of the Original CDR data encapsulation Cheng Xin backing up, and new ticket message is sent to charge system by message queue.Specifically can first the former ticket message of the processing failure in message queue be deleted, then send this new ticket message by message queue.By the setting of feedback information, ticket collection system can better be grasped charge system to the reception of ticket message and disposition, and operates accordingly according to feedback information, has avoided the loss of ticket message, has improved the accuracy of ticket Message Processing.
In actual ticket message transmitting process, before being put into message queue, ticket message can also carry out preliminary check to ticket message, when ticket message being detected in form or imperfect in content, this ticket message is not put into message queue, but by the ticket message of the Original CDR data encapsulation Cheng Xin of backup, if new ticket message, by preliminary test, is just put into message queue by this new ticket message, with to be sent.
Call bill processing method embodiment tri-
The call bill processing method flow chart that Fig. 3 provides for the embodiment of the present invention three.As shown in Figure 3, the call bill processing method that the present embodiment provides specifically can be applied to the especially processing procedure of the ticket of moving communicating field of field of telecommunications, can carry out by charge system.The call bill processing method that the present embodiment provides can coordinate with the call bill processing method that embodiment mono-or embodiment bis-provide the charging realizing ticket.
The call bill processing method that the present embodiment provides specifically comprises:
The ticket message that the message memory modules of step S10, charge system receives and memory ticket acquisition system sends;
The ticket processing module of step S20, charge system is obtained ticket message from message memory modules, according to the information authentication information of ticket message, the integrality of ticket message and legitimacy is verified, if be proved to be successful, ticket message is carried out to charging processing.
The message memory modules of charge system is specifically as follows the buffering area arranging in internal memory, by the ticket message stores receiving in this message memory modules, when ticket processing module is processed ticket message, from this message memory modules, obtain ticket message.Charge system is by the setting of message memory modules, charge system can be obtained ticket message and process from message memory modules, transmission speed and the unmatched problem of processing speed having avoided the ticket message of direct processing reception and caused, improve the processing speed of ticket message, avoided system resource and waste of time.
Ticket processing module is verified the integrality of ticket message and legitimacy according to the information authentication information of ticket message, if be proved to be successful, illustrates that this ticket message is not tampered in transmitting procedure.For example, information authentication information has comprised message SN, type of message, message-length and type of service, can to ticket message, verify according to above-mentioned information.If this ticket message complete and legal, can carry out corresponding charging processing to ticket message.
The call bill processing method that the present embodiment provides, the ticket message that the message memory modules of charge system receives and memory ticket acquisition system sends, ticket processing module is obtained ticket message from message memory modules, according to the information authentication information of ticket message, the integrality of ticket message and legitimacy are verified, if be proved to be successful, ticket message is carried out to charging processing.The ticket generating due to ticket collection system is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to charge system, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
In the present embodiment, the ticket processing module of the charge system in step S20 is verified the integrality of ticket message and legitimacy according to the information authentication information of ticket message, specifically can be comprised the steps:
The ticket processing module of charge system is decrypted ticket message according to the first default decipherment algorithm, according to the second default decipherment algorithm, the information authentication information in the ticket message after deciphering is decrypted, according to the information authentication information after deciphering, the integrality of ticket message and legitimacy is verified.
If the ticket message receiving from ticket collection system is through superencipher, be that information authentication information is encrypted and generated by the first default cryptographic algorithm, ticket message is encrypted and is generated by the second default cryptographic algorithm, and charge system will be decrypted processing to this ticket message.Particularly, the first default decipherment algorithm is with the second default cryptographic algorithm to corresponding, and the second default decipherment algorithm is corresponding with the first default cryptographic algorithm.
In the present embodiment, step S10, the ticket message that the message memory modules of charge system receives and memory ticket acquisition system sends, specifically can comprise the steps:
The message memory modules of charge system receives the ticket message that ticket collection system sends, if receive successfully, to ticket collection system, send in order to indicate the successful feedback information of ticket transmission of messages, and ticket message is stored, if take defeat, to ticket collection system, send in order to indicate the feedback information of ticket transmission of messages failure;
The ticket processing module of the charge system in step S20 is carried out charging processing to ticket message, specifically can comprise the steps:
The ticket processing module of charge system is carried out charging processing to ticket message, if process unsuccessfully, to ticket collection system, send in order to indicate the feedback information of ticket Message Processing failure, if process successfully, to ticket collection system, send in order to indicate the successful feedback information of ticket Message Processing.
By the reception stage and processing stage the setting of feedback information, can make ticket collection system understand better transmission and the disposition of ticket message, to carry out in time retransmission process, improved the stability of ticket transmission of messages.
Ticket collection system embodiment tetra-
The ticket collection system structural representation that Fig. 4 provides for the embodiment of the present invention four.As shown in Figure 4, the ticket collection system 81 that the present embodiment provides can be realized each step of the call bill processing method for bill record collection process that any embodiment of the present invention provides, and this repeats no more.
The ticket collection system 81 that the present embodiment provides specifically comprises acquisition module 11, backup module 12, package module 13 and sending module 14.The user communication Information generation Original CDR data that acquisition module 11 collects for basis, and Original CDR data are backed up.Backup module 12 is for the Original CDR data of storage backup.Package module 13 is for becoming ticket message by Original CDR data encapsulation, and wherein, ticket message comprises in order to the message SN of unique identification ticket message, in order to verify information authentication information and the message body of ticket message integrity and fail safe.Sending module 14 is for sending to charge system 82 by ticket message.
The ticket collection system 81 that the present embodiment provides, acquisition module 11 is according to the user communication Information generation Original CDR data that collect, and Original CDR data are stored in backup module 12 to realize backup, package module 13 becomes ticket message by Original CDR data encapsulation, and sending module 14 sends to charge system 82 by ticket message.The ticket generating due to ticket collection system 81 is massage pattern, the ticket of massage pattern is in form more simple, has reduced the hardware requirement to ticket collection system 81, has reduced overhead, avoid the waste of system resource, improved the disposal ability to ticket.
Ticket collection system embodiment five
The ticket collection system structural representation that Fig. 5 provides for the embodiment of the present invention five.As shown in Figure 5, the ticket collection system 81 that the present embodiment provides is on the basis of embodiment tetra-, and package module 13 specifically can comprise message content generation unit 131, the first ciphering unit 132 and assembled unit 133.Message content generation unit 131 is for according to Original CDR data generating messages body, and assignment messages sequence number.The first ciphering unit 132 is preset cryptographic algorithm generating messages authorization information according to message SN and message body by first for ticket collection system 81.Assembled unit 133 is for being combined into ticket message by message SN, information authentication information and message body.By message SN and message body are encrypted to generating messages authorization information, if ticket message is tampered in transmitting procedure, but because information authentication information is the information after encrypting, be not easy to be acquired modification, can to the integrality of ticket message and fail safe, verify according to this information authentication information, improve the credibility of information authentication information.
Sending module 14 specifically can comprise monitoring means 141 and message sending unit 142 in the present embodiment.Monitoring means 141 is monitored for the quantity of the ticket message to current, according to the quantity of current ticket message, multiple messages queue is set.Message sending unit 142, for sending situation according to the message of each message queue, selects message queue that ticket message is sent to charge system 82.By the setting of monitoring means 141 and message sending unit 142, can monitor the current disposition of ticket collection system 81, to increase adaptively or to reduce the quantity of message queue.Particularly, message queue can be arranged in message sending unit 142, and monitoring means 141 can arrange according to the quantity of current ticket message the quantity of message queue, and Indication message transmitting element 142 carries out the setting of message queue.Because the quantity of message queue is specifically to arrange according to the quantity of ticket message, can improve flexibility and adaptability that ticket message sends, effectively utilize system resource.
In the present embodiment, sending module 14 specifically can also comprise feedback information receiving element 143, message delete cells 144, retransmitting message unit 145 and message reconfiguration unit 146.The feedback information corresponding with ticket message that feedback information receiving element 143 sends for receiving charge system 82.If message delete cells 144, for the success of feedback information indication ticket transmission of messages, is deleted ticket message from message queue.If retransmitting message unit 145, for the failure of feedback information indication ticket transmission of messages, resends the ticket message in message queue to charge system 82.If message reconfiguration unit 146 is for the failure of feedback information indication ticket Message Processing, from backup module, obtain the Original CDR data of backup, by the ticket message of the Original CDR data encapsulation Cheng Xin of backup, and new ticket message is sent to charge system 82 by message queue.By the setting of feedback information receiving element 143, ticket collection system 81 can better be grasped reception and the disposition of 82 pairs of ticket message of charge system according to feedback information, and operate accordingly according to feedback information, avoid the loss of ticket message, improved the accuracy of ticket Message Processing.
In the present embodiment, sending module 14 can also be encrypted ticket message for presetting cryptographic algorithm by second, and the ticket message after encrypting is sent to charge system 82.By the second default cryptographic algorithm, ticket message is encrypted, when ticket message is intercepted and captured by hacker in transmitting procedure, because ticket message is encrypted information, increased the difficulty that hacker obtains ticket message content, the fail safe that has further improved ticket message.
Charge system embodiment six
The charge system structural representation that Fig. 6 provides for the embodiment of the present invention six.As shown in Figure 6, the charge system 82 that the present embodiment provides can realize the call bill processing method that is applied to ticketing processing procedure that any embodiment of the present invention provides, and this repeats no more.The charge system 82 that the present embodiment provides specifically comprises message memory modules 21 and ticket processing module 22.Message memory modules 21 is for the ticket message receiving and memory ticket acquisition system 81 sends.Ticket processing module 22 for obtaining ticket message from message memory modules 21, is verified the integrality of ticket message and legitimacy according to the information authentication information of ticket message, if be proved to be successful, ticket message is carried out to charging processing.
The charge system 82 that the present embodiment provides, the ticket message that message memory modules 21 receives and memory ticket acquisition system 81 sends, ticket processing module 22 is obtained ticket message from message memory modules 21, according to the information authentication information of ticket message, the integrality of ticket message and legitimacy are verified, if be proved to be successful, ticket message is carried out to charging processing.The ticket generating due to ticket collection system 81 is massage pattern, and the ticket of massage pattern is in form more simple, has reduced the hardware requirement to charge system 82, has reduced overhead, has avoided the waste of system resource, has improved the disposal ability to ticket.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a call bill processing method, is characterized in that, comprising:
The user communication Information generation Original CDR data that ticket collection system basis collects, and described Original CDR data are backed up;
Described ticket collection system becomes ticket message by described Original CDR data encapsulation, wherein, described ticket message comprise message SN in order to ticket message described in unique identification, in order to verify information authentication information and the message body of described ticket message integrity and fail safe;
Described ticket collection system sends to charge system by described ticket message by message queue.
2. call bill processing method according to claim 1, is characterized in that, described ticket collection system becomes ticket message by described Original CDR data encapsulation, comprising:
Described ticket collection system generates described message body according to described Original CDR data, and distributes described message SN;
Described ticket collection system generates described information authentication information according to described message SN and described message body by the first default cryptographic algorithm;
Described ticket collection system is combined into described ticket message by described message SN, described information authentication information and described message body.
3. call bill processing method according to claim 1, is characterized in that, described ticket collection system sends to charge system by described ticket message by message queue, comprising:
Described ticket collection system is monitored the quantity of current ticket message, according to the quantity of described current ticket message, multiple messages queue is set;
Described ticket collection system sends situation according to the message of message queue described in each, selects described message queue that described ticket message is sent to charge system.
4. call bill processing method according to claim 3, is characterized in that, described ticket collection system sends situation according to the message of message queue described in each, selects after described message queue sends to charge system by described ticket message, also to comprise:
Described ticket collection system receives the feedback information corresponding with described ticket message that described charge system sends;
If described feedback information is indicated described ticket transmission of messages success, described ticket collection system is deleted described ticket message from described message queue;
If described feedback information is indicated described ticket transmission of messages failure, described ticket collection system resends the described ticket message in described message queue to described charge system;
If described feedback information is indicated the failure of described ticket Message Processing, described ticket collection system is the ticket message of the Original CDR data encapsulation Cheng Xin of backup, and new described ticket message is sent to described charge system by described message queue.
5. call bill processing method according to claim 1, is characterized in that, described ticket collection system sends to charge system by described ticket message by message queue, comprising:
Described ticket collection system is encrypted described ticket message by the second default cryptographic algorithm, and the ticket message after encrypting is sent to described charge system.
6. a call bill processing method, is characterized in that, comprising:
The ticket message that the message memory modules of charge system receives and memory ticket acquisition system sends by message queue;
The ticket processing module of described charge system is obtained described ticket message from described message memory modules, according to the information authentication information of described ticket message, the integrality of described ticket message and legitimacy are verified, if be proved to be successful, described ticket message is carried out to charging processing.
7. call bill processing method according to claim 6, is characterized in that, the ticket processing module of described charge system is verified the integrality of described ticket message and legitimacy according to the information authentication information of described ticket message, being comprised:
The ticket processing module of described charge system is decrypted described ticket message according to the first default decipherment algorithm, according to the second default decipherment algorithm, the information authentication information in the ticket message after deciphering is decrypted, according to the information authentication information after deciphering, the integrality of described ticket message and legitimacy is verified.
8. call bill processing method according to claim 6, is characterized in that, the ticket message that the message memory modules of described charge system receives and memory ticket acquisition system sends by message queue, comprising:
The message memory modules of described charge system receives the described ticket message that described ticket collection system sends, if receive successfully, to described ticket collection system, send in order to indicate the successful feedback information of described ticket transmission of messages, and described ticket message is stored, if take defeat, to described ticket collection system, send in order to indicate the feedback information of described ticket transmission of messages failure;
The ticket processing module of described charge system is carried out charging processing to described ticket message, comprising:
The ticket processing module of described charge system is carried out charging processing to described ticket message, if process unsuccessfully, to described ticket collection system, send in order to indicate the feedback information of described ticket Message Processing failure, if process successfully, to described ticket collection system, send in order to indicate the successful feedback information of described ticket Message Processing.
9. a ticket collection system, is characterized in that, comprising:
Acquisition module, the user communication Information generation Original CDR data that collect for basis, and described Original CDR data are backed up;
Backup module, for the Original CDR data of storage backup;
Package module, for described Original CDR data encapsulation is become to ticket message, wherein, described ticket message comprise message SN in order to ticket message described in unique identification, in order to verify information authentication information and the message body of described ticket message integrity and fail safe;
Sending module, for sending to charge system by described ticket message by message queue.
10. ticket collection system according to claim 9, is characterized in that, described package module comprises:
Message content generation unit, for generating described message body according to described Original CDR data, and distributes described message SN;
The first ciphering unit, generates described information authentication information according to described message SN and described message body by the first default cryptographic algorithm for described ticket collection system;
Assembled unit, for being combined into described ticket message by described message SN, described information authentication information and described message body.
11. ticket collection systems according to claim 9, is characterized in that, described sending module comprises:
Monitoring means, monitors for the quantity of the ticket message to current, according to the quantity of described current ticket message, multiple messages queue is set;
Message sending unit, for sending situation according to the message of message queue described in each, selects described message queue that described ticket message is sent to charge system.
12. ticket collection systems according to claim 11, is characterized in that, described sending module also comprises:
Feedback information receiving element, the feedback information corresponding with described ticket message sending for receiving described charge system;
Message delete cells if indicate described ticket transmission of messages success for described feedback information, is deleted described ticket message from described message queue;
Retransmitting message unit, if indicate described ticket transmission of messages failure for described feedback information, resends the described ticket message in described message queue to described charge system;
Message reconfiguration unit, if indicate described ticket Message Processing failure for described feedback information, from described backup module, obtain the Original CDR data of backup, by the ticket message of the Original CDR data encapsulation Cheng Xin of backup, and new described ticket message is sent to described charge system by described message queue.
13. ticket collection systems according to claim 9, is characterized in that, described sending module is also encrypted described ticket message for presetting cryptographic algorithm by second, and the ticket message after encrypting is sent to described charge system by message queue.
14. 1 kinds of charge systems, is characterized in that, comprising:
Message memory modules, for the ticket message receiving and memory ticket acquisition system sends by message queue;
Ticket processing module, for obtaining described ticket message from described message memory modules, according to the information authentication information of described ticket message, the integrality of described ticket message and legitimacy are verified, if be proved to be successful, described ticket message is carried out to charging processing.
CN201110390447.0A 2011-11-30 2011-11-30 Ticket processing method, ticket collection system and charging system Active CN102497623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110390447.0A CN102497623B (en) 2011-11-30 2011-11-30 Ticket processing method, ticket collection system and charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110390447.0A CN102497623B (en) 2011-11-30 2011-11-30 Ticket processing method, ticket collection system and charging system

Publications (2)

Publication Number Publication Date
CN102497623A CN102497623A (en) 2012-06-13
CN102497623B true CN102497623B (en) 2014-04-23

Family

ID=46189403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110390447.0A Active CN102497623B (en) 2011-11-30 2011-11-30 Ticket processing method, ticket collection system and charging system

Country Status (1)

Country Link
CN (1) CN102497623B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109219006A (en) * 2017-06-30 2019-01-15 中兴通讯股份有限公司 Bill transmission method, relevant device and computer readable storage medium
CN109474612A (en) * 2018-12-11 2019-03-15 江苏电力信息技术有限公司 A kind of high performance mobile APP means of communication of high safety
CN109714494B (en) * 2019-01-03 2021-02-02 中国联合网络通信集团有限公司 Call bill generation method and system and call bill generation server
CN112217944B (en) * 2020-10-09 2022-04-15 中国联合网络通信集团有限公司 Online ticket processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240091B1 (en) * 1997-07-14 2001-05-29 Nokia Telecommunications Oy Implementation of access service
CN101262356A (en) * 2007-03-07 2008-09-10 中兴通讯股份有限公司 A CDR processing system for communication system
CN101478623A (en) * 2009-02-02 2009-07-08 中国网络通信集团公司 Bill transmission method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240091B1 (en) * 1997-07-14 2001-05-29 Nokia Telecommunications Oy Implementation of access service
CN101262356A (en) * 2007-03-07 2008-09-10 中兴通讯股份有限公司 A CDR processing system for communication system
CN101478623A (en) * 2009-02-02 2009-07-08 中国网络通信集团公司 Bill transmission method and system

Also Published As

Publication number Publication date
CN102497623A (en) 2012-06-13

Similar Documents

Publication Publication Date Title
Wang et al. Dependable and secure sensor data storage with dynamic integrity assurance
US11046201B2 (en) Electric vehicle charging station system
CN103714636B (en) A kind of method of batch capture and upload transfers cipher key T K data and operating terminal
CN106941491B (en) Safety application data link layer equipment of electricity utilization information acquisition system and communication method
CN110995701B (en) Block chain consensus method, system, electronic equipment and storage medium
CN111104460B (en) Block chain consensus method, system, electronic equipment and storage medium
CN102497623B (en) Ticket processing method, ticket collection system and charging system
CN110830251B (en) Method for safely transmitting electricity consumption information in ubiquitous power Internet of things environment
CN1941695B (en) Method and system for generating and distributing key during initial access network process
CN109922047B (en) Image transmission system and method
CN109961281B (en) Traffic settlement method, system, base station and computer readable storage medium
WO2015003512A1 (en) Concentrator, ammeter, and message processing method therefor
CN113114460A (en) Quantum encryption-based power distribution network information secure transmission method
CN105763325A (en) Encryption authentication method and device
CN102447705A (en) Digital certificate revocation method and equipment
CN101075967B (en) System for processing SWIFT message
CN101217695A (en) A data acquisition method, data acquisition card and data acquisition system
CN102739719A (en) User information synchronization method and system thereof
CN216391430U (en) Power distribution automation terminal access control system with quantum encryption function
CN114374550A (en) Electric power measurement platform that possesses high security
CN102611561A (en) Method and system for identifying charging or counting information of peer-to-peer network
CN103139774A (en) Short message service processing method and short message service processing system
CN102761410A (en) Charging call bill collection and processing method and device
CN112379862A (en) Universal blockchain wallet platform system
JP3516595B2 (en) Charge collection method, apparatus and communication system

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