A method, device and electronic device for billing short message services

By collecting and processing original call sheet files, identifying and wholesale price target users' industry SMS call sheets, and summarizing the results to the billing system, the problem of memory database resource competition in industry SMS services is solved, and the wholesale efficiency is significantly improved.

CN116056018BActive Publication Date: 2025-04-25CHINA MOBILE GRP HENAN CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111262511.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2025-04-25
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

Due to the huge traffic volume per unit time of the industry's SMS business, it leads to competition for memory database resources, which leads to queues for pending call orders, resulting in a backlog of call orders and affects the overall processing efficiency of the system.

Method used

By collecting the original call sheet files, identifying the target industry SMS call sheets of the target user based on the user identification of the target user, batch price processing is carried out based on the billing information of the target user, and the batch price results are summarized, and the summary files are obtained and sent to the billing system to avoid frequent interaction with the memory database.

Benefits of technology

This significantly reduces the number of memory database interactions during the industry's SMS call order wholesale price process, significantly improves the industry's SMS call order wholesale price efficiency, and solves the problem of call order backlog.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116056018B_ABST
    Figure CN116056018B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device and electronic device for billing short message services, the method comprising: collecting original bill files; identifying the target industry short message bills of the target users from the original bill files according to the user identification of each target user; performing price processing on the short message bills of each target industry according to the billing information of each target user; summarizing the price results of the short message bills of each target industry to obtain the summary files of each target user, and sending them to the billing system. Through the embodiment of the present invention, after preliminary cumulative billing without interaction with the memory database, the cumulative results are submitted at one time for updating the memory database, thereby greatly reducing the number of interactions with the memory database during the price batching of the target user's industry short message bills without affecting the overall business rules and business processing framework, thereby significantly improving the efficiency of the industry short message bill price batching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication services, and in particular to a method, device and electronic equipment for billing short message services. Background Art

[0002] With the rapid development of China's mobile communication technology, the number of China Mobile users has also increased significantly in the past 20 years; the user types have expanded from individual users to corporate industry users. In the past two years, with the business development of major industry customers, the billing plan for industry SMS services has become increasingly important. The following is a brief analysis of the characteristics of industry SMS services:

[0003] 1. A group corresponds to one or more ports. The business volume of a single port is huge (hundreds of millions / month), and the business volume is even greater during peak hours. All accumulated accounts are accumulated in the accounts of industry units.

[0004] 2. The tariff is relatively simple, including the following tariff modes, and there is no complex mode such as sharing:

[0005] Monthly fee is XX yuan, with XX free text messages, and each message exceeding XX yuan;

[0006] Tiered charges, for example, 0.1 yuan / item for less than 100,000 pieces, 0.09 yuan / item for 100,000-500,000 pieces, 0.08 yuan / item for 500,000-1 million pieces, and 0.07 yuan / item for 1 million-5 million pieces;

[0007] Different network numbers are XX yuan / number, and same network numbers are XX yuan / number;

[0008] 40% of the monthly sending volume will be exempted, and the remaining amount will be XX yuan / piece. The exempted part will be subject to bill-level discount;

[0009] There is a situation where a group has multiple packages, and the packages are prioritized;

[0010] If you refer to marketing activities such as adding packages in the middle of the month, which need to take effect on the same day or the next day;

[0011] 3. Group credit control: real-time requirements are not very high;

[0012] 4. Free resources: The query demand is not strong and the number of queries is not large;

[0013] 5. List query: The number of queries is small. Currently, all list queries are for querying all list details. Due to the huge volume of call records, the query cannot be completed in a short time, resulting in query timeout errors, which cannot meet the list query requirements of group users;

[0014] 6. Detailed list: The accounting and distribution system needs to upload the detailed list to the first-level accounting and distribution system (each call record contains detailed cost information).

[0015] The current billing system of the Business & Operation Support System (BOSS) still uses the same billing model for industry SMS services as for ordinary individual users, that is, it obtains the billing basis from the relevant network elements, transmits the billing basis to the billing process for sorting, batch pricing, accumulation, etc., and finally forms the bill and detailed bill of the industry unit. The batch pricing program needs to perform a set of free resource queries, accumulation or out-of-package batch pricing calculations for each industry SMS call sheet, and these operations all need to interact with the memory database. The batch pricing operation of each call sheet will result in at least 4 memory database interaction processes. In the case of multi-channel concurrency, due to the huge volume of calls per unit time of the industry SMS service, the memory database resource contention will occur. Under the action of the memory database lock mechanism, a large amount of call sheet data to be processed will be queued, thus forming a backlog of call sheets, affecting the overall processing efficiency of the system. Summary of the invention

[0016] The purpose of the embodiments of the present invention is to provide a text message service billing method, device and electronic device to solve the problem that due to the huge call volume per unit time of the industry text message service, the memory database resource contention is caused, and under the action of the memory database lock mechanism, a large amount of call record data to be processed is queued and waited, thereby forming a backlog of call records and affecting the overall processing efficiency of the system.

[0017] In order to solve the above technical problems, the embodiment of the present invention is implemented as follows:

[0018] In a first aspect, an embodiment of the present invention provides a method for charging a short message service, comprising:

[0019] Collect original call log files;

[0020] According to the user identification of each target user, identifying the target industry SMS call record of the target user from the original call record file;

[0021] According to the billing information of each target user, batch price processing is carried out on SMS call bills of each target industry;

[0022] The batch pricing results of SMS call records of each target industry are summarized to obtain the summary files of each target user and send them to the billing system.

[0023] In a second aspect, an embodiment of the present invention provides a short message service charging device, including:

[0024] A collection unit, used for collecting original call record files;

[0025] A distribution unit, configured to identify a target industry SMS call record of a target user from the original call record file according to a user identifier of each target user;

[0026] The batch pricing unit is used to process the SMS call bills of each target industry according to the billing information of each target user;

[0027] The billing unit is used to summarize the batch pricing results of SMS call records of each target industry, obtain the summary file of each target user, and send it to the billing system.

[0028] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other via the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the steps of the SMS service billing method as described in the first aspect.

[0029] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the SMS service billing method described in the first aspect are implemented.

[0030] It can be seen from the technical solution provided by the above embodiment of the present invention that the embodiment of the present invention collects the original call bill file; identifies the target industry SMS call bill of the target user from the original call bill file according to the user identification of each target user; performs batch pricing on the SMS call bill of each target industry according to the billing information of each target user; summarizes the batch pricing results of the SMS call bills of each target industry to obtain a summary file of each target user, and sends it to the billing system. Through the embodiment of the present invention, after preliminary cumulative billing without interaction with the memory database, the cumulative results are submitted at one time for updating the memory database, thereby greatly reducing the number of memory database interactions during the batch pricing process of the target user's industry SMS call bill without affecting the overall business rules and business processing framework, thereby significantly improving the efficiency of the industry SMS call bill batch pricing. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0032] Figure 1 A flow chart of a method for billing short message services provided by an embodiment of the present invention;

[0033] Figure 2 A schematic diagram of the architecture of a short message service billing system provided by an embodiment of the present invention;

[0034] Figure 3 A schematic diagram of the architecture of an industry SMS pricing unit provided by an embodiment of the present invention;

[0035] Figure 4 A schematic diagram of the structure of a short message service billing device provided by an embodiment of the present invention;

[0036] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The embodiments of the present invention provide a method, a device and an electronic device for billing a short message service.

[0038] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0039] like Figure 1-Figure 3 As shown, an embodiment of the present invention provides a method for billing a short message service. The execution subject of the method may be a short message service billing system, wherein the server may be an independent short message service billing system or a server cluster composed of multiple short message service billing systems. The method may specifically include the following steps:

[0040] Step S100, collecting original call record files;

[0041] Step S110: According to the user identification of each target user, identify the target industry SMS call bill of the target user from the original call bill file; wherein the original call bill file includes the industry SMS call bill, and the target user is a user who meets the preset business requirements.

[0042] The billing program of the SMS service billing system accumulates the industry SMS bills in file units, obtains a large number of industry SMS bills at one time by collecting the original bill files, and then distributes the original bill files, such as Figure 2 As shown, the original call record file is sent to the file distribution unit for distribution operation.

[0043] The types and methods of distribution operations can be set according to actual needs. The embodiment of the present application only gives one example, dividing industry SMS bills into two categories, namely the first category of ordinary industry SMS bills and the second category of large group industry SMS bills. The large group industry SMS bills can be SMS bills generated for target users who meet preset business requirements. The preset business requirements can be users whose daily bill volume exceeds a preset threshold, such as industry units with more than 1 million bills, as target users. The user identifier of the target user is configured in the target user resource parameters. The target user resource parameters are read during the file distribution operation to match the user identifiers in the industry SMS bills in the original bill file to determine whether the industry SMS bill is the target industry SMS bill for the target user.

[0044] Furthermore, the method further comprises:

[0045] The industry SMS call records of non-target users are identified from the original call record file and sent to the billing system.

[0046] Different distribution rules are used for the industry SMS bills identified by the distribution operation. In one implementation, the industry SMS bills identified after the distribution operation are divided into the following three categories:

[0047] Non-SMS call records: input into a separate directory and stored in the database for subsequent system analysis.

[0048] · Target user: Enter the billing process of the SMS call bill of the target industry for the target user in the embodiment of the present application, and process it, including accumulating the batch pricing results of each call bill and the amount of resources occupied by each call bill, and then submitting the accumulated results to the billing system in the form of a summary file at one time, so that it can update the memory database at one time according to the accumulated results, and distribute them according to the billing process corresponding to each target user. Multiple target users can be output to the same batch pricing process. Figure 2 As shown, the file distribution unit distributes the target industry SMS to the industry SMS pricing unit, sends the pricing result to the aggregation unit for aggregation and cumulative billing, and then sends the accumulated result to the billing system.

[0049] Ordinary users, i.e. non-target users: enter the billing system, follow the normal billing process, and distribute evenly according to each user ID and the number of normal batch pricing processes. Figure 2 As shown, the file distribution unit distributes the industry SMS call records of ordinary users directly to the billing system.

[0050] Step S120: batch price processing is performed on the SMS call bills of each target industry according to the billing information of each target user.

[0051] Furthermore, before step S120, the method further includes:

[0052] Obtain the billing information of each target user, the billing information including: user information, fee information, fee definition information, tiered fee information and fee definition table, etc.

[0053] Furthermore, the step S120 includes:

[0054] According to the billing information of each target user, the rate results, cumulative amount and bill items of SMS in each target industry are obtained.

[0055] The main process of batch pricing for each SMS call record of the target industry is as follows:

[0056] Obtain tariff information based on user ID, and use process cache to improve efficiency for the same file;

[0057] ·According to the user ID, the cumulative amount information is obtained, and the same file is cached in a process to improve efficiency;

[0058] · Obtain the billing account;

[0059] · Carry out batch pricing of call bills and summarize them in file units.

[0060] like Figure 3 As shown, the industry SMS pricing unit may include: a pricing parameter management module, an input file management module, an accumulated information management module, an output file management module and a pricing module.

[0061] The batch pricing parameter management module is responsible for loading the billing information from the physical library into the local memory, and encapsulating the corresponding query interface for use by the batch pricing module.

[0062] The input file management module parses the target industry SMS call bills received from the distribution unit, performs internal structural processing on the received target industry SMS call bills, and then sends them to the batch pricing module to perform batch pricing processing on the target industry SMS call bills.

[0063] The cumulative information management module is responsible for managing the usage of each free resource and the usage of the out-of-package cumulative amount of the target user.

[0064] The batch pricing module is used to batch price the SMS bills of each target industry according to the tariff information, tariff definition information, tiered tariff information, and free resources and out-of-package cumulative usage information of each target user, and summarize the batch pricing results. The batch pricing program of the target industry SMS bill is the core of the entire industry SMS cumulative billing program, and the batch pricing mode it adopts is different from the batch pricing of the billing system. The industry SMS batch pricing program adopts a cumulative billing mode, that is, it takes the input file as a unit, and performs batch pricing on each target industry SMS bill in the file according to the acquired target user's free resource usage and related preferential information, and performs cumulative or over-package fee batch pricing. This operation process is not associated with the memory database, but only updates the corresponding target user's cumulative amount and bill cumulative information in the program's private local memory. When the target industry SMS bills in the file are all batched, the program will package the accumulated cumulative amount and bill cumulative information as the batch pricing result and output it into a summary file for subsequent processes to submit to the billing system according to the ordinary VB billing process to update the cumulative amount and bill data in the memory database at one time according to the summary file. In the cumulative billing mode, the memory database no longer stores the target user's cumulative amount and real-time updated bill data, but the data after periodic batch updates.

[0065] Step S130: Summarize the pricing results of the SMS call records of each target industry, obtain a summary file of each target user, and send it to the billing system.

[0066] like Figure 3 As shown, the output file management module is divided into detailed list output and summary file output. Detailed list output is to output the detailed list after batch price processing according to the interface requirements, and provide it to the subsequent warehousing, subsystem and cloud detailed list system. Summary file output is to output the summary file after batch price processing according to the interface requirements, and provide it to the VB billing system for subsequent processing.

[0067] The SMS service billing system may also include an asynchronous download query function: since the call volume of industry SMS services may be very large for a single target user, a dedicated query function is developed for the target user on the front-end list query interface when querying the front-end list. Normally, only summary information can be queried, but a download query interface for detailed lists of previous months is provided. Target users can submit a query application for the detailed list of industry SMS services of previous months through this interface. The system will package the data to be queried into a file in the background, and the target user will download the query result from the download interface.

[0068] It can be seen from the technical solution provided by the above embodiment of the present invention that the embodiment of the present invention identifies the target industry SMS bill of the target user from the original bill file according to the user identification of each target user; performs batch pricing on the SMS bill of each target industry according to the billing information of each target user; summarizes the batch pricing results of the SMS bills of each target industry to obtain a summary file of each target user, and sends it to the billing system. Through the embodiment of the present invention, after preliminary cumulative billing without interaction with the memory database, the cumulative results are submitted at one time for updating the memory database, thereby greatly reducing the number of memory database interactions during the batch pricing process of the target user's industry SMS bill without affecting the overall business rules and business processing framework, thereby significantly improving the efficiency of the industry SMS bill batch pricing.

[0069] Corresponding to the SMS service charging method provided in the above embodiment, based on the same technical concept, the embodiment of the present invention also provides a SMS service charging device, Figure 4 A schematic diagram of the module composition of a short message service charging device provided in an embodiment of the present invention, wherein the short message service charging device is used to execute Figures 1 to 3 Describe the SMS service billing method, such as Figure 3 As shown, the SMS service charging device includes: a collection unit 400, a distribution unit 401, a pricing unit 402 and a charging unit 403.

[0070] The collection unit is used to collect original call bill files; the distribution unit 401 is used to identify the target industry SMS call bills of the target users from the original call bill files according to the user identifiers of the target users; the pricing unit 402 is used to perform pricing processing on the SMS call bills of each target industry according to the billing information of each target user; the billing unit 403 is used to summarize the pricing results of the SMS call bills of each target industry, obtain the summary files of each target user, and send them to the billing system.

[0071] Furthermore, the pricing unit is also used to obtain the billing information of each target user, and the billing information includes: user information, fee information, fee definition information, tiered fee information and a fee definition table.

[0072] Furthermore, the batch pricing unit is used to obtain the rate result, cumulative amount and bill subject of SMS of each target industry according to the billing information of each target user.

[0073] Furthermore, the distribution unit is also used to identify industry SMS call records of non-target users from the original call record file and send them to the billing system.

[0074] It can be seen from the technical solution provided by the above embodiment of the present invention that the embodiment of the present invention identifies the target industry SMS bill of the target user from the original bill file according to the user identification of each target user; performs batch pricing on the SMS bill of each target industry according to the billing information of each target user; summarizes the batch pricing results of the SMS bills of each target industry to obtain a summary file of each target user, and sends it to the billing system. Through the embodiment of the present invention, after preliminary cumulative billing without interaction with the memory database, the cumulative results are submitted at one time for updating the memory database, thereby greatly reducing the number of memory database interactions during the batch pricing process of the target user's industry SMS bill without affecting the overall business rules and business processing framework, thereby significantly improving the efficiency of the industry SMS bill batch pricing.

[0075] The SMS service charging device provided in the embodiment of the present invention can implement each process in the embodiment corresponding to the above SMS service charging method, and will not be described again here to avoid repetition.

[0076] It should be noted that the SMS service billing device provided in the embodiment of the present invention and the SMS service billing method provided in the embodiment of the present invention are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned SMS service billing method, and the repeated parts will not be repeated.

[0077] Corresponding to the SMS service billing method provided in the above embodiment, based on the same technical concept, an embodiment of the present invention further provides an electronic device, which is used to execute the SMS service billing method. Figure 5 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present invention is shown in FIG. Figure 5 As shown. The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 501 and memory 502, and the memory 502 may store one or more storage applications or data. Among them, the memory 502 can be a temporary storage or a permanent storage. The application stored in the memory 502 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 501 can be configured to communicate with the memory 502 to execute a series of computer executable instructions in the memory 502 on the electronic device. The electronic device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input and output interfaces 505, and one or more keyboards 506.

[0078] Specifically in this embodiment, the electronic device includes a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the bus; the memory is used to store a computer program; the processor is used to execute the program stored in the memory to implement the following method steps:

[0079] Collect original call log files;

[0080] According to the user identification of each target user, identifying the target industry SMS call record of the target user from the original call record file;

[0081] According to the billing information of each target user, batch price processing is carried out on SMS call bills of each target industry;

[0082] The batch pricing results of SMS call records of each target industry are summarized to obtain the summary files of each target user and send them to the billing system.

[0083] The present application also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the following method steps are implemented:

[0084] Collect original call log files;

[0085] According to the user identification of each target user, identifying the target industry SMS call record of the target user from the original call record file;

[0086] According to the billing information of each target user, batch price processing is carried out on SMS call bills of each target industry;

[0087] The batch pricing results of SMS call records of each target industry are summarized to obtain the summary files of each target user and send them to the billing system.

[0088] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0089] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0090] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0092] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0093] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0096] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0097] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for charging SMS services, characterized in that: include: Collect original call log files; According to the user identification of each target user, identifying the target industry SMS call record of the target user from the original call record file; According to the billing information of each target user, batch price processing is carried out on SMS call bills of each target industry; Summarize the pricing results of SMS call records of each target industry, obtain the summary files of each target user, and send them to the billing system; Before batch pricing is performed on SMS call records of each target industry according to the billing information of each target user, the method further includes: Obtaining billing information of each target user, the billing information including: user information, rate information, rate definition information, tiered rate information and rate definition table; The batch price processing of SMS call records of each target industry based on the billing information of each target user includes: Load the billing information from the physical database into the local memory, encapsulate the corresponding query interface, and manage the usage of each free resource and the cumulative usage of the target user; According to the tariff information, tariff definition information, tiered tariff information, free resource and out-of-package cumulative usage information of each target user, batch pricing is performed on the SMS call records of each target industry to obtain the tariff results, cumulative amounts, and bill items of the SMS of each target industry.

2. The method according to claim 1, characterized in that After distributing the original call record file, the method further includes: The industry SMS call records of non-target users are identified from the original call record file and sent to the billing system.

3. A short message service billing device, characterized in that: The device comprises: A collection unit, used for collecting original call record files; A distribution unit, configured to identify a target industry SMS call record of a target user from the original call record file according to a user identifier of each target user; The batch pricing unit is used to process the SMS call bills of each target industry according to the billing information of each target user; The billing unit is used to summarize the pricing results of SMS call records of each target industry, obtain the summary file of each target user, and send it to the billing system; The pricing unit is also used to obtain the billing information of each target user, the billing information includes: user information, fee information, fee definition information, tiered fee information and fee definition table; The batch pricing unit is used to load the billing information from the physical library into the local memory, and encapsulate the corresponding query interface and manage the usage of each free resource and the usage of the accumulated amount outside the package of the target user; According to the tariff information, tariff definition information, tiered tariff information, free resource and out-of-package cumulative usage information of each target user, batch pricing is performed on the SMS call records of each target industry to obtain the tariff results, cumulative amounts, and bill items of the SMS of each target industry.

4. The device according to claim 3, characterized in that The distribution unit is also used to identify the industry SMS bills of non-target users from the original bill files and send them to the billing system.

5. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the steps of the SMS service billing method as described in any one of claims 1-2.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the SMS service billing method according to any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Fee calculation method and system for overlarge number of telephone bills

    CN111885520A