CN102497623A - Ticket processing method, ticket collection system and charging system - Google Patents
Ticket processing method, ticket collection system and charging system Download PDFInfo
- Publication number
- CN102497623A CN102497623A CN2011103904470A CN201110390447A CN102497623A CN 102497623 A CN102497623 A CN 102497623A CN 2011103904470 A CN2011103904470 A CN 2011103904470A CN 201110390447 A CN201110390447 A CN 201110390447A CN 102497623 A CN102497623 A CN 102497623A
- Authority
- CN
- China
- Prior art keywords
- message
- ticket
- record collection
- collection system
- bill record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Mobile Radio Communication Systems (AREA)
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
Technical field
The present invention relates to the communication technology, relate in particular to a kind of call bill processing method, bill record 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, also is maximum mobile communication market.Mobile communication subscriber increase demands for higher performance rapidly to the billing-settlement system in the telecommunication system.At present; Charge system is mainly through FTP (File Transfer Protocol; Abbreviation FTP) interface carries out charge accounting and handles from bill record collection system or related network elements acquisition user's detailed call record (Call Detail Record is called for short CDR).
But; CDR of the prior art is document form usually, and the bill record collection system generates the CDR of this document form, not only the ticket hardware of data acquisition is had relatively high expectations; And just mean the higher system expense based on file format; Take system with more file I/O resource, system tends to the problem that disposal ability descends occur when concurrent pressure increases, and can not adapt to the business demand of present quick growth.
Summary of the invention
The present invention provides a kind of call bill processing method, bill record 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 bill record collection system generates the Original CDR data according to the user communication information that collects, and said Original CDR data are backed up;
Said bill record collection system becomes ticket message with said Original CDR data encapsulation; Wherein, said ticket message comprise message SN in order to the said ticket message of unique identification, in order to verify the message authorization information and the message body of said ticket message integrity and fail safe;
Said bill record collection system sends to charge system with said 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 the memory ticket acquisition system is sent;
The ticket processing module of said charge system is obtained said ticket message from said message memory modules; Message authorization information according to said ticket message is verified the integrality and the legitimacy of said ticket message; If verify successfully, then said ticket message is carried out accounting processing.
Another aspect of the present invention provides a kind of bill record collection system, comprising:
Acquisition module is used for generating the Original CDR data according to the user communication information that collects, and said Original CDR data is backed up;
Backup module is used for the Original CDR data of storage backup;
Package module; Be used for said Original CDR data encapsulation is become ticket message; Wherein, said ticket message comprise message SN in order to the said ticket message of unique identification, in order to verify the message authorization information and the message body of said ticket message integrity and fail safe;
Sending module is used for said ticket message is sent to charge system.
Another aspect of the present invention provides a kind of charge system, comprising:
The message memory modules is used to receive the also ticket message of memory ticket acquisition system transmission;
The ticket processing module; Be used for obtaining said ticket message from said message memory modules; Message authorization information according to said ticket message is verified the integrality and the legitimacy of said ticket message, if verify successfully, then said ticket message is carried out accounting processing.
Can know by technique scheme; The call bill processing method that first aspect of the present invention provides; The bill record collection system generates the Original CDR data according to the user communication information that collects; And the Original CDR data are backed up, the Original CDR data encapsulation is become ticket message, again ticket message is sent to charge system.Because the ticket that the bill record collection system generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the requirement of ticket hardware of data acquisition, has reduced overhead, has avoided resource waste, 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 the memory ticket acquisition system is sent; The ticket processing module is obtained ticket message from the message memory modules; Message authorization information according to ticket message is verified the integrality and the legitimacy of ticket message; If verify successfully, then ticket message is carried out accounting processing.Because the ticket that the bill record collection system generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the hardware requirement to charge system, has reduced overhead, has avoided resource waste, has improved the disposal ability to ticket.
The bill record collection system that another aspect of the present invention provides; Acquisition module generates the Original CDR data according to the user communication information that collects; And with the Original CDR storage in backup module to realize backup; Package module becomes ticket message with the Original CDR data encapsulation, and sending module sends to charge system with ticket message.Because the ticket that the bill record collection system generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the requirement of ticket hardware of data acquisition, has reduced overhead, has avoided resource waste, has improved the disposal ability to ticket.
The charge system that another aspect of the present invention provides; The ticket message that the message memory modules receives and the memory ticket acquisition system is sent; The ticket processing module is obtained ticket message from the message memory modules; Message authorization information according to ticket message is verified the integrality and the legitimacy of ticket message, if verify successfully, then ticket message is carried out accounting processing.Because the ticket that the bill record collection system generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the hardware requirement to charge system, has reduced overhead, has avoided resource waste, has improved the disposal ability to ticket.
Description of drawings
The call bill processing method flow chart that Fig. 1 provides for the embodiment of the invention one;
The call bill processing method flow chart that Fig. 2 provides for the embodiment of the invention two;
The call bill processing method flow chart that Fig. 3 provides for the embodiment of the invention three;
The bill record collection system configuration sketch map that Fig. 4 provides for the embodiment of the invention four;
The bill record collection system configuration sketch map that Fig. 5 provides for the embodiment of the invention five;
The charge system structural representation that Fig. 6 provides for the embodiment of the invention six.
Embodiment
Call bill processing method embodiment one
The call bill processing method flow chart that Fig. 1 provides for the embodiment of the invention one.As shown in Figure 1, the call bill processing method that 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 through the bill record collection system.The bill record collection system specifically can be switch, GPRS gateway (Gateway GPRS Support Node; Abbreviation GGSN), GPRS serving GPRS support node (Serving GPRS Support Node; Be called for short SGSN) or service control point network elements such as (Service Control Point are called for short SCP).
The call bill processing method that present embodiment provides specifically comprises:
Step U10, bill record collection system generate the Original CDR data according to the user communication information that collects, and the Original CDR data are backed up;
Particularly; User communication information can be telephony recording information, note recorded information or internet records information etc.; The bill record collection system generates the Original CDR data according to user communication information; The content that has comprised user communication information in the Original CDR data is a telephony recording information like user communication information, then can comprise information such as calling number, called number, air time in the Original CDR data.Because the bill record collection system realizes in internal memory the generative process of Original CDR data usually; And the limited storage space of internal memory; And loss of data after system's power down; So specifically can be with the Original CDR storage in non-volatile memory, to realize backup to the Original CDR data.
Step U20, bill record collection system become ticket message with the Original CDR data encapsulation, and wherein, ticket message comprises in order to the message SN of unique identification ticket message, in order to verify the message authorization information and the message body of ticket message integrity and fail safe;
Specifically can include all or part of content in the Original CDR data in the message body, get final product so that charge system can be carried out accounting processing according to the content in this message body.Message SN to distinguish each ticket message, is avoided reprocessing in order to unique identification ticket message, also can when the ticket information drop-out, resend targetedly or generate.The message authorization information is in order to checking ticket message integrity and fail safe, and the message authorization information specifically can generate for all or part of content according to message SN and message body.Charge system can be distorted to avoid ticket message in transmission course, to be intercepted and captured according to this message authorization information to the integrality of ticket message and verifying of fail safe after receiving ticket message.
Step U30, bill record collection system send to charge system with ticket message.
The bill record collection system sends to charge system with ticket message, and charge system is carried out corresponding accounting processing to this ticket message that receives.
The call bill processing method that present embodiment provides; The bill record collection system generates the Original CDR data according to the user communication information that collects; And the Original CDR data are backed up, the Original CDR data encapsulation is become ticket message, again ticket message is sent to charge system.Because the ticket that the bill record collection system generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the requirement of ticket hardware of data acquisition, has reduced overhead, has avoided resource waste, has improved the disposal ability to ticket.
Call bill processing method embodiment two
The call bill processing method flow chart that Fig. 2 provides for the embodiment of the invention two.As shown in Figure 2, the call bill processing method that present embodiment provides on the basis of embodiment one, step U20, the bill record collection system becomes ticket message with the Original CDR data encapsulation, specifically can comprise the steps:
U201, bill record collection system generate message body according to the Original CDR data, and the assignment messages sequence number;
U202, bill record collection system generate the message authorization information according to message SN and message body through the first preset AES;
U203, bill record collection system are combined into ticket message with message SN, message authorization information and message body.
Particularly, message SN unique identification information that specifically can generate at random.The message authorization information specifically can generate through the first preset AES for the part or all of content according to message SN and message body; For example; Message body can comprise information such as type of message, message-length and type of service, can message SN, type of message, message-length and type of service be encrypted the back through the first preset AES and generate this message authorization information.The first preset AES specifically can be rivest, shamir, adelman, can improve the complexity of encryption.Through above-mentioned information is carried out encryption; If ticket message is distorted in transmission course; But because the message authorization information is the information after encrypting; Be not easy to be obtained modification, can verify the integrality and the fail safe of ticket message, improved the credibility of message authorization information according to this message authorization information.
Below be example with the short message service, the form of ticket message is elaborated.The form of the ticket message of short message service specifically can be as follows:
Include the message authorization information in the message safety checking position in the ticket message of said short message business, message body specifically can comprise content shown in the sequence number 3-16.Form that it should be noted that ticket message can be provided with according to concrete type of service needs, does not exceed with present embodiment.
In the present embodiment, step U30, bill record collection system send to charge system with ticket message, specifically can comprise the steps:
The bill record collection system encrypts ticket message through the second preset AES, and the ticket message after will encrypting sends to charge system.
The second preset AES specifically can be the transmission AES based on SSL (Secure Sockets Layer is called for short SSL) agreement, but present embodiment is not as limit.The bill record collection system encrypts ticket message through the second preset AES; When ticket message is intercepted and captured by the hacker in transmission course; Because ticket message is information encrypted, increased the difficulty that the hacker obtains the ticket message content, the fail safe that has further improved ticket message.
In the present embodiment, step U30, the bill record collection system sends to charge system with ticket message, specifically can comprise the steps:
Step U301, bill record collection system monitor the quantity of current ticket message, according to the quantity of current ticket message the multiple messages formation are set;
Particularly, current ticket message is the ticket message that current bill record collection system generates, and its quantity is monitored, and can know the treatment situation that the bill record collection system is current.If the quantity of current ticket message is many, the quantity that then can increase message queue is sent ticket message, to improve parallel transmitting efficiency, avoids the obstruction of ticket message.If the quantity of current ticket message is fewer, then can reduce the quantity of message queue, to avoid resource waste.Because the quantity of message queue is to come concrete the setting according to the quantity of ticket message, can improve flexibility and adaptability that ticket message is sent.
Step U302, bill record collection system send situation according to the message of each message queue, select message queue that ticket message is sent to charge system.
The bill record collection system can send situation according to the message of each message queue, selects comparatively idle message queue, and ticket message is sent in the message queue line up, and successively the ticket message in the message queue is sent to charge system.
In the present embodiment, step U302, the bill record collection system sends situation according to the message of each message queue, and the selection message queue sends to ticket message after the charge system, specifically can also comprise the steps:
Step U303, bill record collection system receive that charge system sends with the corresponding feedback information of ticket message;
Step U304, successful as if feedback information indication ticket transmission of messages, then the bill record collection system deletes ticket message in message queue;
Step U305, if the failure of feedback information indication ticket transmission of messages, then the bill record collection system resends the ticket message in the message queue to charge system;
Step U306, if the failure of feedback information indication ticket Message Processing, then the bill record 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 through message queue.
Particularly, charge system sends to reception and the disposition of the feedback information of bill record collection system in order to indication ticket message.If feedback information indication ticket transmission of messages success; Explain that charge system has successfully received this ticket message; Then the bill record collection system can delete this ticket message according to this feedback information in message queue, so that next ticket message is sent to charge system.If the failure of feedback information indication ticket transmission of messages explains that charge system does not successfully receive this ticket message, then the bill record collection system resends this ticket message in the message queue to charge system.If this ticket message existing problems itself are explained in the failure of feedback information indication ticket Message Processing, then the bill record collection system is the ticket message of the Original CDR data encapsulation Cheng Xin that backs up, and new ticket message is sent to charge system through message queue.Specifically can send this new ticket message through message queue more earlier with the former ticket message deletion of the failure of the processing in the message queue.Through the setting of feedback information, the bill record collection system can better grasp reception and the disposition of charge system to ticket message, and operates accordingly according to feedback information, has avoided losing of ticket message, has improved the accuracy of ticket Message Processing.
In the ticket message transmitting process of reality; Can also carry out preliminary check to ticket message before the message queue in that ticket message is put into,, then this ticket message not put into message queue when detecting ticket message in form or imperfect on the content; But with the ticket message of Original CDR data encapsulation Cheng Xin of backup; If new ticket message is just put into message queue with this new ticket message, with to be sent through preliminary test.
Call bill processing method embodiment three
The call bill processing method flow chart that Fig. 3 provides for the embodiment of the invention three.As shown in Figure 3, the call bill processing method that 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 through charge system.The call bill processing method that present embodiment provides can cooperate the charging that realizes ticket with the call bill processing method that embodiment one or embodiment two provide.
The call bill processing method that present embodiment provides specifically comprises:
The ticket message that the message memory modules of step S10, charge system receives and the memory ticket acquisition system is sent;
The ticket processing module of step S20, charge system is obtained ticket message from the message memory modules, according to the message authorization information of ticket message the integrality and the legitimacy of ticket message is verified, if verify successfully, then ticket message is carried out accounting processing.
The message memory modules of charge system specifically can be the buffering area that in internal memory, is provided with; With the ticket message stores that receives in this message memory modules; When the ticket processing module is handled ticket message, from this message memory modules, obtain ticket message.Charge system is through the setting of message memory modules; Charge system can be obtained ticket message and handle from the 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.
The ticket processing module is verified the integrality and the legitimacy of ticket message according to the message authorization information of ticket message, if verify successfully, explains that then this ticket message is not distorted in transmission course.For example, comprised message SN, type of message, message-length and type of service in the message authorization information, can verify ticket message according to above-mentioned information.If this ticket message complete and legal can be carried out corresponding accounting processing to ticket message.
The call bill processing method that present embodiment provides; The ticket message that the message memory modules of charge system receives and the memory ticket acquisition system is sent; The ticket processing module is obtained ticket message from the message memory modules; Message authorization information according to ticket message is verified the integrality and the legitimacy of ticket message, if verify successfully, then ticket message is carried out accounting processing.Because the ticket that the bill record collection system generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the hardware requirement to charge system, has reduced overhead, has avoided resource waste, has improved the disposal ability to ticket.
In the present embodiment, the ticket processing module of the charge system among the step S20 is verified the integrality and the legitimacy of ticket message according to the message authorization information of ticket message, specifically can be comprised the steps:
The ticket processing module of charge system is deciphered ticket message according to the first preset decipherment algorithm; According to the second preset decipherment algorithm message authorization information in the ticket message after deciphering is deciphered, the integrality and the legitimacy of ticket message are verified according to the message authorization information after the deciphering.
If the ticket message that receives from the bill record collection system is through superencipher; Be that the message authorization information is encrypted generation through the first preset AES; Ticket message is encrypted through the second preset AES and is generated, and then charge system will be carried out decryption processing to this ticket message.Particularly, the first preset decipherment algorithm is preset AES to corresponding with second, and the second preset decipherment algorithm and the first preset AES are corresponding.
In the present embodiment, step S10, the ticket message that the message memory modules of charge system receives and the memory ticket acquisition system is sent specifically can comprise the steps:
The message memory modules of charge system receives the ticket message that the bill record collection system sends; If receive successfully; Then send in order to the successful feedback information of indication ticket transmission of messages to the bill record collection system; And ticket message stored, if take defeat, then send feedback information in order to the failure of indication ticket transmission of messages to the bill record collection system;
The ticket processing module of the charge system among the step S20 is carried out accounting processing to ticket message, specifically can comprise the steps:
The ticket processing module of charge system is carried out accounting processing to ticket message; If handle failure; Then send feedback information,, then send in order to the successful feedback information of indication ticket Message Processing to the bill record collection system if handle successfully in order to the failure of indication ticket Message Processing to the bill record collection system.
Through the reception stage and the processing stage the setting of feedback information, can make the bill record collection system understand the transmission and the disposition of ticket message better, in time to carry out retransmission process, improved the stability of ticket transmission of messages.
Bill record collection system embodiment four
The bill record collection system configuration sketch map that Fig. 4 provides for the embodiment of the invention four.As shown in Figure 4, the bill record collection system 81 that present embodiment provides can realize each step of the call bill processing method that is used for the bill record collection process that any embodiment of the present invention provides, and this repeats no more.
The bill record collection system 81 that present embodiment provides specifically comprises acquisition module 11, backup module 12, package module 13 and sending module 14.Acquisition module 11 is used for generating the Original CDR data according to the user communication information that collects, and the Original CDR data are backed up.Backup module 12 is used for the Original CDR data of storage backup.Package module 13 is used for the Original CDR data encapsulation is become ticket message, and wherein, ticket message comprises in order to the message SN of unique identification ticket message, in order to verify the message authorization information and the message body of ticket message integrity and fail safe.Sending module 14 is used for ticket message is sent to charge system 82.
The bill record collection system 81 that present embodiment provides; Acquisition module 11 generates the Original CDR data according to the user communication information that collects; And with the Original CDR storage in backup module 12 to realize backup; Package module 13 becomes ticket message with the Original CDR data encapsulation, and sending module 14 sends to charge system 82 with ticket message.Because the ticket that bill record collection system 81 generates is a massage pattern; The ticket of massage pattern is more simple in form, has reduced the hardware requirement to ticket acquisition system 81, has reduced overhead; Avoided resource waste, improved disposal ability ticket.
Bill record collection system embodiment five
The bill record collection system configuration sketch map that Fig. 5 provides for the embodiment of the invention five.As shown in Figure 5, the bill record collection system 81 that present embodiment provides is on the basis of embodiment four, and package module 13 specifically can comprise message content generation unit 131, first ciphering unit 132 and assembled unit 133.Message content generation unit 131 is used for generating message body according to the Original CDR data, and the assignment messages sequence number.First ciphering unit 132 is used for bill record collection system 81 and generates the message authorization information according to message SN and message body through the first preset AES.Assembled unit 133 is used for message SN, message authorization information and message body are combined into ticket message.Through message SN and message body are carried out encryption generation message authorization information; If ticket message is distorted in transmission course; But because the message authorization information is the information after encrypting; Be not easy to be obtained modification, can verify the integrality and the fail safe of ticket message, improved the credibility of message authorization information according to this message authorization information.
Sending module 14 specifically can comprise monitoring means 141 and message sending unit 142 in the present embodiment.Monitoring means 141 is used for the quantity of current ticket message is monitored, and according to the quantity of current ticket message the multiple messages formation is set.Message sending unit 142 is used for sending situation according to the message of each message queue, selects message queue that ticket message is sent to charge system 82.Through the setting of monitoring means 141 and message sending unit 142, can monitor ticket acquisition system 81 current dispositions, to increase or to reduce the quantity of message queue adaptively.Particularly, message queue can be arranged in the message sending unit 142, and monitoring means 141 can be provided with the quantity of message queue according to the quantity of current ticket message, and Indication message transmitting element 142 carries out the setting of message queue.Because the quantity of message queue is to come concrete the setting according to the quantity of ticket message, can improve flexibility and adaptability that ticket message is sent, effectively utilizes system resource.
In the present embodiment, sending module 14 specifically can also comprise feedback information receiving element 143, message delete cells 144, message retransmission unit 145 and message reconfiguration unit 146.Feedback information receiving element 143 be used to receive charge system 82 that send with the corresponding feedback information of ticket message.Message delete cells 144 is used for if the success of feedback information indication ticket transmission of messages is then deleted ticket message in message queue.Message retransmission unit 145 is used for if the failure of feedback information indication ticket transmission of messages then resends the ticket message in the message queue to charge system 82.If message reconfiguration unit 146 is used for the failure of feedback information indication ticket Message Processing; Then from backup module, obtain the Original CDR data of backup; With the ticket message of Original CDR data encapsulation Cheng Xin of backup, and new ticket message sent to charge system 82 through message queue.Setting through feedback information receiving element 143; Bill record collection system 81 can better grasp the 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 losing of ticket message, improved the accuracy of ticket Message Processing.
In the present embodiment, sending module 14 can also be used for through the second preset AES ticket message being encrypted, and the ticket message after will encrypting sends to charge system 82.Through the second preset AES ticket message is encrypted; When ticket message is intercepted and captured by the hacker in transmission course; Because ticket message is information encrypted, increased the difficulty that the hacker obtains the 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 invention six.As shown in Figure 6, the charge system 82 that present embodiment provides can realize the call bill processing method that is applied to the ticketing processing procedure that any embodiment of the present invention provides, and this repeats no more.The charge system 82 that present embodiment provides specifically comprises message memory modules 21 and ticket processing module 22.The ticket message that message memory modules 21 is used to receive and memory ticket acquisition system 81 is sent.Ticket processing module 22 is used for obtaining ticket message from message memory modules 21, according to the message authorization information of ticket message the integrality and the legitimacy of ticket message is verified, if verify successfully, then ticket message is carried out accounting processing.
The charge system 82 that present embodiment provides; The ticket message that message memory modules 21 receives and memory ticket acquisition system 81 is sent; Ticket processing module 22 is obtained ticket message from message memory modules 21; Message authorization information according to ticket message is verified the integrality and the legitimacy of ticket message, if verify successfully, then ticket message is carried out accounting processing.Because the ticket that bill record collection system 81 generates is a massage pattern, the ticket of massage pattern is more simple in form, has reduced the hardware requirement to charge system 82, has reduced overhead, has avoided resource waste, 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 be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.
Claims (14)
1. a call bill processing method is characterized in that, comprising:
The bill record collection system generates the Original CDR data according to the user communication information that collects, and said Original CDR data are backed up;
Said bill record collection system becomes ticket message with said Original CDR data encapsulation; Wherein, said ticket message comprise message SN in order to the said ticket message of unique identification, in order to verify the message authorization information and the message body of said ticket message integrity and fail safe;
Said bill record collection system sends to charge system with said ticket message.
2. call bill processing method according to claim 1 is characterized in that, said bill record collection system becomes ticket message with said Original CDR data encapsulation, comprising:
Said bill record collection system generates said message body according to said Original CDR data, and distributes said message SN;
Said bill record collection system generates said message authorization information according to said message SN and said message body through the first preset AES;
Said bill record collection system is combined into said ticket message with said message SN, said message authorization information and said message body.
3. call bill processing method according to claim 1 is characterized in that, said bill record collection system sends to charge system with said ticket message, comprising:
Said bill record collection system monitors the quantity of current ticket message, according to the quantity of said current ticket message the multiple messages formation is set;
Said bill record collection system sends situation according to the message of each said message queue, selects said message queue that said ticket message is sent to charge system.
4. call bill processing method according to claim 3 is characterized in that, said bill record collection system sends situation according to the message of each said message queue, selects said message queue that said ticket message is sent to after the charge system, also comprises:
Said bill record collection system receive that said charge system sends with the corresponding feedback information of said ticket message;
If said feedback information is indicated the success of said ticket transmission of messages, then said bill record collection system deletes said ticket message in said message queue;
If said feedback information is indicated the failure of said ticket transmission of messages, then said bill record collection system resends the said ticket message in the said message queue to said charge system;
If said feedback information is indicated the failure of said ticket Message Processing, then said bill record collection system is the ticket message of the Original CDR data encapsulation Cheng Xin of backup, and new said ticket message is sent to said charge system through said message queue.
5. call bill processing method according to claim 1 is characterized in that, said bill record collection system sends to charge system with said ticket message, comprising:
Said bill record collection system encrypts said ticket message through the second preset AES, and the ticket message after will encrypting sends to said 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 the memory ticket acquisition system is sent;
The ticket processing module of said charge system is obtained said ticket message from said message memory modules; Message authorization information according to said ticket message is verified the integrality and the legitimacy of said ticket message; If verify successfully, then said ticket message is carried out accounting processing.
7. call bill processing method according to claim 6 is characterized in that, the ticket processing module of said charge system is verified the integrality and the legitimacy of said ticket message according to the message authorization information of said ticket message, being comprised:
The ticket processing module of said charge system is deciphered said ticket message according to the first preset decipherment algorithm; According to the second preset decipherment algorithm message authorization information in the ticket message after deciphering is deciphered, the integrality and the legitimacy of said ticket message are verified according to the message authorization information after the deciphering.
8. call bill processing method according to claim 6 is characterized in that, the ticket message that the message memory modules of said charge system receives and the memory ticket acquisition system is sent comprises:
The message memory modules of said charge system receives the said ticket message that said bill record collection system sends; If receive successfully; Then send in order to indicate the successful feedback information of said ticket transmission of messages to said bill record collection system; And said ticket message stored, if take defeat, then send in order to indicate the feedback information of said ticket transmission of messages failure to said bill record collection system;
The ticket processing module of said charge system is carried out accounting processing to said ticket message, comprising:
The ticket processing module of said charge system is carried out accounting processing to said ticket message; If handle failure; Then to the feedback information of said bill record collection system's transmission in order to indicate said ticket Message Processing to fail; If handles successfully, then to the transmission of said bill record collection system in order to indicate the successful feedback information of said ticket Message Processing.
9. a bill record collection system is characterized in that, comprising:
Acquisition module is used for generating the Original CDR data according to the user communication information that collects, and said Original CDR data is backed up;
Backup module is used for the Original CDR data of storage backup;
Package module; Be used for said Original CDR data encapsulation is become ticket message; Wherein, said ticket message comprise message SN in order to the said ticket message of unique identification, in order to verify the message authorization information and the message body of said ticket message integrity and fail safe;
Sending module is used for said ticket message is sent to charge system.
10. bill record collection according to claim 9 system is characterized in that said package module comprises:
The message content generation unit is used for generating said message body according to said Original CDR data, and distributes said message SN;
First ciphering unit is used for said bill record collection system and generates said message authorization information according to said message SN and said message body through the first preset AES;
Assembled unit is used for said message SN, said message authorization information and said message body are combined into said ticket message.
11. bill record collection according to claim 9 system is characterized in that said sending module comprises:
Monitoring means is used for the quantity of current ticket message is monitored, and according to the quantity of said current ticket message the multiple messages formation is set;
Message sending unit is used for sending situation according to the message of each said message queue, selects said message queue that said ticket message is sent to charge system.
12. bill record collection according to claim 11 system is characterized in that said sending module also comprises:
The feedback information receiving element is used to receive that said charge system sends and the corresponding feedback information of said ticket message;
The message delete cells is used for then said ticket message being deleted in said message queue if said feedback information is indicated said ticket transmission of messages success;
The message retransmission unit is used for then the said ticket message in the said message queue being resend to said charge system if said feedback information is indicated said ticket transmission of messages failure;
The message reconfiguration unit; Be used for if said feedback information is indicated said ticket Message Processing failure; Then from said backup module, obtain the Original CDR data of backup; With the ticket message of Original CDR data encapsulation Cheng Xin of backup, and new said ticket message sent to said charge system through said message queue.
13. bill record collection according to claim 9 system is characterized in that, said sending module also is used for through the second preset AES said ticket message being encrypted, and the ticket message after will encrypting sends to said charge system.
14. a charge system is characterized in that, comprising:
The message memory modules is used to receive the also ticket message of memory ticket acquisition system transmission;
The ticket processing module; Be used for obtaining said ticket message from said message memory modules; Message authorization information according to said ticket message is verified the integrality and the legitimacy of said ticket message, if verify successfully, then said ticket message is carried out accounting processing.
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 true CN102497623A (en) | 2012-06-13 |
CN102497623B 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) |
Cited By (4)
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 |
CN109714494A (en) * | 2019-01-03 | 2019-05-03 | 中国联合网络通信集团有限公司 | List generating method and system, ticket generate server |
CN112217944A (en) * | 2020-10-09 | 2021-01-12 | 中国联合网络通信集团有限公司 | Online ticket processing method, device, equipment and storage medium |
Citations (3)
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 |
-
2011
- 2011-11-30 CN CN201110390447.0A patent/CN102497623B/en active Active
Patent Citations (3)
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 |
Cited By (5)
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 |
CN109714494A (en) * | 2019-01-03 | 2019-05-03 | 中国联合网络通信集团有限公司 | List generating method and system, ticket generate server |
CN112217944A (en) * | 2020-10-09 | 2021-01-12 | 中国联合网络通信集团有限公司 | Online ticket processing method, device, equipment and storage medium |
CN112217944B (en) * | 2020-10-09 | 2022-04-15 | 中国联合网络通信集团有限公司 | Online ticket processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102497623B (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102196425B (en) | Quantum-key-distribution-network-based mobile encryption system and communication method thereof | |
CN106254896B (en) | A kind of distributed cryptographic method for real-time video | |
CN111104460B (en) | Block chain consensus method, system, electronic equipment and storage medium | |
CN1711514A (en) | Archive system and method for copy controlled storage devices | |
CN113114460B (en) | Quantum encryption-based power distribution network information secure transmission method | |
CN104809407A (en) | Method and system for encrypting, decrypting and verifying cloud storage front end data | |
CN112800439B (en) | Key management protocol design method and system for secure storage | |
CN102497623B (en) | Ticket processing method, ticket collection system and charging system | |
CN1941695B (en) | Method and system for generating and distributing key during initial access network process | |
CN112468599B (en) | Anonymous communication method, system and equipment based on Internet file storage service | |
WO2015003512A1 (en) | Concentrator, ammeter, and message processing method therefor | |
CN105763325A (en) | Encryption authentication method and device | |
CN107666491B (en) | Data transmission method of air-ground integrated network based on symmetric encryption | |
CN114172730B (en) | Cross-chain method and intermediate system for combining file block chains in chain-up and chain-down | |
CN113346999B (en) | Splitting encryption-based brain central system | |
CN101075967B (en) | System for processing SWIFT message | |
CN102739719B (en) | User profile synchronous method and system thereof | |
CN104936306A (en) | Method for establishing small data safe transmission connection of MTC equipment set, HSS and system | |
CN105701390A (en) | Encryption terminal remote management method, encryption terminal and manager | |
CN101217695A (en) | A data acquisition method, data acquisition card and data acquisition system | |
CN116760651A (en) | Data encryption method and device, electronic equipment and readable storage medium | |
CN101646172B (en) | Method and device for generating key in distributed MESH network | |
CN114244635B (en) | Encryption type data coding method of communication equipment | |
CN114374550B (en) | Electric power metering platform with high safety | |
CN102547686A (en) | M2M (Machine-to-Machine) terminal security access method and terminal and management platform |
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 |